You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2007/11/29 23:11:54 UTC

svn commit: r599598 - /myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tree.js

Author: weber
Date: Thu Nov 29 14:11:52 2007
New Revision: 599598

URL: http://svn.apache.org/viewvc?rev=599598&view=rev
Log:
(TOBAGO-557) Selection problem with <tc:treeListbox selectable="siblingLeafOnly">
<https://issues.apache.org/jira/browse/TOBAGO-557>

Modified:
    myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tree.js

Modified: myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tree.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tree.js?rev=599598&r1=599597&r2=599598&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tree.js (original)
+++ myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tree.js Thu Nov 29 14:11:52 2007
@@ -719,7 +719,8 @@
       selectState.value = ";";
       tobagoTreeListboxSetup(actualNode, idPrefix, level + 1, hiddenId);
     } else {
-      tbgClearExpandStatesRecursiv(parentNode, expandState);
+      tbgUnexpandNodeRecursive(actualNode);
+      tbgSetExpand(parentNode);
       actualNode.selected = true;
       selectState.value = ";" + nodeStateId(actualNode) + ";";