mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] web_responsive: Menu Height on Init
* Add a call to the window resize method during init to fix OCA#773
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
"name": "Web Responsive",
|
"name": "Web Responsive",
|
||||||
"summary": "It provides a mobile compliant interface for Odoo Community "
|
"summary": "It provides a mobile compliant interface for Odoo Community "
|
||||||
"web",
|
"web",
|
||||||
"version": "11.0.1.0.0",
|
"version": "11.0.1.0.1",
|
||||||
"category": "Website",
|
"category": "Website",
|
||||||
"website": "https://laslabs.com/",
|
"website": "https://laslabs.com/",
|
||||||
"author": "LasLabs, Tecnativa, Odoo Community Association (OCA)",
|
"author": "LasLabs, Tecnativa, Odoo Community Association (OCA)",
|
||||||
|
|||||||
@@ -86,6 +86,7 @@ odoo.define('web_responsive', function(require) {
|
|||||||
'-': this.LEFT
|
'-': this.LEFT
|
||||||
};
|
};
|
||||||
this.initDrawer();
|
this.initDrawer();
|
||||||
|
this.handleWindowResize();
|
||||||
var $clickZones = $('.odoo_webclient_container, ' +
|
var $clickZones = $('.odoo_webclient_container, ' +
|
||||||
'a.oe_menu_leaf, ' +
|
'a.oe_menu_leaf, ' +
|
||||||
'a.oe_menu_toggler, ' +
|
'a.oe_menu_toggler, ' +
|
||||||
|
|||||||
Reference in New Issue
Block a user