Author: buscob
Date: Wed Feb 24 14:53:40 2010
New Revision: 915812
URL:
http://svn.apache.org/viewvc?rev=915812&view=revLog:
A patch from Sascha Rodekamp, "Tomahawk Menu Loading",
https://issues.apache.org/jira/browse/OFBIZ-3494Modified:
ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl
ofbiz/trunk/themes/tomahawk/webapp/tomahawk/js/dropdown.js
Modified: ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl?rev=915812&r1=915811&r2=915812&view=diff==============================================================================
--- ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl (original)
+++ ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl Wed Feb 24 14:53:40 2010
@@ -88,3 +88,8 @@
</div>
<div class="clear">
</div>
+
+<script>
+ var mainmenu = new DropDownMenu($('main-navigation'));
+ var appmenu = new DropDownMenu($('app-navigation'));
+</script>
Modified: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/js/dropdown.js
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/webapp/tomahawk/js/dropdown.js?rev=915812&r1=915811&r2=915812&view=diff==============================================================================
--- ofbiz/trunk/themes/tomahawk/webapp/tomahawk/js/dropdown.js (original)
+++ ofbiz/trunk/themes/tomahawk/webapp/tomahawk/js/dropdown.js Wed Feb 24 14:53:40 2010
@@ -39,9 +39,4 @@
}
});
}
-};
-
-document.observe('dom:loaded', function(){
- var mainmenu = new DropDownMenu($('main-navigation'));
- var appmenu = new DropDownMenu($('app-navigation'));
-});
+};
\ No newline at end of file