mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
module web_hideleftmenu added
This commit is contained in:
10
web_hideleftmenu/static/src/js/lib.js
Normal file
10
web_hideleftmenu/static/src/js/lib.js
Normal file
@@ -0,0 +1,10 @@
|
||||
openerp.web_hideleftmenu = function (instance) {
|
||||
instance.web.WebClient.include({
|
||||
events: {
|
||||
'click .oe_hidemenu': 'hideleftmenu',
|
||||
},
|
||||
hideleftmenu: function(ev) {
|
||||
this.$(".oe_leftbar").toggle("slow");
|
||||
},
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user