Author: dolander
Date: Tue Apr 12 13:03:53 2005
New Revision: 161107

URL: http://svn.apache.org/viewcvs?view=rev&rev=161107
Log:
Jira bug 519 -- When we are doing expandOnServer we sometimes
also expanded on the client which caused the tree to over expand
in certain configurations.  This updates the javascript to fix that.


Modified:
    incubator/beehive/trunk/netui/src/javascript/tagshtml/netui-tree.js

Modified: incubator/beehive/trunk/netui/src/javascript/tagshtml/netui-tree.js
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/javascript/tagshtml/netui-tree.js?view=diff&r1=161106&r2=161107
==============================================================================
--- incubator/beehive/trunk/netui/src/javascript/tagshtml/netui-tree.js 
(original)
+++ incubator/beehive/trunk/netui/src/javascript/tagshtml/netui-tree.js Tue Apr 
12 13:03:53 2005
@@ -273,7 +273,8 @@
         return false;
     }
 
-    netUI.netUITree.expandTreeSection(depth,parentDiv);
+    if (expandOnServer == null) 
+       netUI.netUITree.expandTreeSection(depth,parentDiv);
     return false;
 }
 


Reply via email to