You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2006/06/19 18:46:18 UTC

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

Author: bommel
Date: Mon Jun 19 09:46:17 2006
New Revision: 415371

URL: http://svn.apache.org/viewvc?rev=415371&view=rev
Log:
try to fix wired javascript error

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

Modified: myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-menu.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-menu.js?rev=415371&r1=415370&r2=415371&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-menu.js (original)
+++ myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-menu.js Mon Jun 19 09:46:17 2006
@@ -31,7 +31,9 @@
 
   deleteReferences: function(node) {
     if (node.menubar) {
-      delete node.menubar.menu;
+      if (node.menubar.menu) {
+        delete node.menubar.menu;
+      }
       delete node.menubar;
     }
     if (node.htmlElement) {