[FIX] web_responsive: Menu Height on Init

* Add a call to the window resize method during init to fix OCA#773
pull/776/head
Dave Lasley 2017-10-23 08:09:25 -07:00
parent 35a5b8b95a
commit cd22422740
No known key found for this signature in database
GPG Key ID: 7DDBA4BA81B934CF
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@
"name": "Web Responsive",
"summary": "It provides a mobile compliant interface for Odoo Community "
"web",
"version": "10.0.1.2.0",
"version": "10.0.1.2.1",
"category": "Website",
"website": "https://laslabs.com/",
"author": "LasLabs, Tecnativa, Odoo Community Association (OCA)",

View File

@ -85,6 +85,7 @@ odoo.define('web_responsive', function(require) {
'-': this.LEFT,
};
this.initDrawer();
this.handleWindowResize();
var $clickZones = $('.odoo_webclient_container, ' +
'a.oe_menu_leaf, ' +
'a.oe_menu_toggler, ' +