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>


Reply via email to