svn commit: r924957 - /ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r924957 - /ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl

lektran
Author: lektran
Date: Thu Mar 18 19:12:43 2010
New Revision: 924957

URL: http://svn.apache.org/viewvc?rev=924957&view=rev
Log:
Don't try to create DropDownMenu objects when the user isn't logged in because the referenced divs don't exist

Modified:
    ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl

Modified: ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl?rev=924957&r1=924956&r2=924957&view=diff
==============================================================================
--- ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl (original)
+++ ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl Thu Mar 18 19:12:43 2010
@@ -89,7 +89,9 @@ under the License.
 <div class="clear">
 </div>
 
+<#if userLogin?exists>
 <script type="text/javascript">
   var mainmenu = new DropDownMenu($('main-navigation'));
   var appmenu = new DropDownMenu($('app-navigation'));
 </script>
+</#if>