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 2006/05/10 09:39:01 UTC

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

Author: weber
Date: Wed May 10 00:38:59 2006
New Revision: 405666

URL: http://svn.apache.org/viewcvs?rev=405666&view=rev
Log:
fix menu js

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

Modified: myfaces/tobago/trunk/theme/speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/script/tobago-menu.js
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/theme/speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/script/tobago-menu.js?rev=405666&r1=405665&r2=405666&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/script/tobago-menu.js (original)
+++ myfaces/tobago/trunk/theme/speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/script/tobago-menu.js Wed May 10 00:38:59 2006
@@ -33,7 +33,7 @@
       }
     }
 
-    if (menu.parent.menubar.className.match(/tobago-menuBar-page-facet/)) {
+    if (Tobago.element(menu.parent.menubarId).className.match(/tobago-menuBar-page-facet/)) {
       return 20;
     }
     else {