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 2009/09/14 15:36:01 UTC
svn commit: r814635 -
/myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tree.js
Author: weber
Date: Mon Sep 14 13:36:00 2009
New Revision: 814635
URL: http://svn.apache.org/viewvc?rev=814635&view=rev
Log:
(TOBAGO-795) Javascript error in treeListbox
<https://issues.apache.org/jira/browse/TOBAGO-795>
Modified:
myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tree.js
Modified: myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tree.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tree.js?rev=814635&r1=814634&r2=814635&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tree.js (original)
+++ myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tree.js Mon Sep 14 13:36:00 2009
@@ -764,7 +764,10 @@
// var actualNode = tbgGetActualNode(element, rootNode);
-
+ if (actualNode === undefined) {
+ return;
+ }
+
tbgSetExpand(actualNode, hiddenId);
tbgToggleSelect(actualNode, hiddenId);