From 1dc4aa2884b48f8ad452a488b03645b505e0e64f Mon Sep 17 00:00:00 2001 From: Dave Lasley Date: Mon, 23 Oct 2017 08:09:25 -0700 Subject: [PATCH] [FIX] web_responsive: Menu Height on Init * Add a call to the window resize method during init to fix OCA#773 --- web_responsive/__openerp__.py | 2 +- web_responsive/static/src/js/web_responsive.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web_responsive/__openerp__.py b/web_responsive/__openerp__.py index 4b373601..34eca911 100755 --- a/web_responsive/__openerp__.py +++ b/web_responsive/__openerp__.py @@ -6,7 +6,7 @@ "name": "Web Responsive", "summary": "It provides a mobile compliant interface for Odoo Community " "web", - "version": "9.0.2.0.0", + "version": "9.0.2.0.1", "category": "Website", "website": "https://laslabs.com/", "author": "LasLabs, Tecnativa, Odoo Community Association (OCA)", diff --git a/web_responsive/static/src/js/web_responsive.js b/web_responsive/static/src/js/web_responsive.js index 709669d2..c15a700f 100755 --- a/web_responsive/static/src/js/web_responsive.js +++ b/web_responsive/static/src/js/web_responsive.js @@ -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, ' +