Author: pyaschenko
Date: 2009-03-10 09:37:08 -0400 (Tue, 10 Mar 2009)
New Revision: 12906
Modified:
trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-item.js
Log:
https://jira.jboss.org/jira/browse/RF-6257
Modified:
trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-item.js
===================================================================
---
trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-item.js 2009-03-10
12:44:21 UTC (rev 12905)
+++
trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-item.js 2009-03-10
13:37:08 UTC (rev 12906)
@@ -466,7 +466,7 @@
alert(s);
*/
- if (e["treeItem"])
+ if (!e || e["treeItem"])
{
var eText = this.elements.textElement;
if (!this.selectedTextClassNames)