Author: konstantin.mishin
Date: 2008-08-19 09:30:05 -0400 (Tue, 19 Aug 2008)
New Revision: 10139
Modified:
trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java
Log:
RF-3653
Modified: trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java 2008-08-19
12:49:37 UTC (rev 10138)
+++ trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java 2008-08-19
13:30:05 UTC (rev 10139)
@@ -66,7 +66,7 @@
String id = treeNode.getClientId(context);
StringBuilder script = new StringBuilder();
- script.append("Event.findElement(event, 'TABLE').object.");
+ script.append("$(this).up('TABLE').object.");
boolean expanded = tree.isExpanded();
if (expanded) {
script.append("fireCollapsionEvent();");
Show replies by date