Changeset 293 for binary-improvements
- Timestamp:
- Sep 25, 2016, 2:03:05 PM (8 years ago)
- Location:
- binary-improvements/webserver/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/webserver/js/index.js
r274 r293 4 4 hidebuttondiv: $(".adminnavbarhidebutton"), 5 5 menubardiv: $(".adminnavbar"), 6 hideOnStart: false, 6 7 }); 7 8 SetupInventoryDialog (); -
binary-improvements/webserver/js/tabs.js
r274 r293 28 28 } 29 29 30 options.hidebuttondiv.on ('click.action',function (event) {30 var hidebarevent = function (event) { 31 31 if (options.hidebuttondiv.hasClass (options.hideClass)) { 32 32 $("*").removeClass (options.hideClass); … … 36 36 options.menubardiv.addClass (options.hideClass); 37 37 } 38 }); 38 }; 39 options.hidebuttondiv.on ('click.action', hidebarevent); 39 40 40 41 this.element.find ("ul > li").addClass (options.menuButtonClass); … … 52 53 self.tabs [$(this).children ("a").attr ("href")] = $(this); 53 54 }); 55 56 if (options.hideOnStart == true) { 57 hidebarevent (); 58 } 54 59 }, 55 60
Note:
See TracChangeset
for help on using the changeset viewer.