when isXUL, hide the dijit menu navigation bar
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 15 May 2009 18:51:37 +0000 (18:51 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 15 May 2009 18:51:37 +0000 (18:51 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13180 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/templates/default/menu.tt2

index 1812770..7ff2b80 100644 (file)
@@ -1,5 +1,8 @@
-<div>
+<div id='oils-menu-div'>
     <script>
+        dojo.require('openils.XUL');
+        if(openils.XUL.isXUL()) 
+            openils.Util.hide('oils-menu-div')
         dojo.require('dijit.form.Button');
         dojo.require('dijit.Toolbar');
         dojo.require('dijit.Menu');