myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From we...@apache.org
Subject 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
Date Mon, 14 Sep 2009 13:36:01 GMT
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);
 



Mime
View raw message