Browse Source

Merge pull request #776 from LasLabs/bugfix/10.0/web_responsive-menu_height_init

[10.0][FIX] web_responsive: Menu Height on Init
pull/792/head
Pedro M. Baeza 7 years ago
committed by GitHub
parent
commit
7f2ad70e25
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      web_responsive/__manifest__.py
  2. 1
      web_responsive/static/src/js/web_responsive.js

2
web_responsive/__manifest__.py

@ -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": "10.0.1.2.0",
"version": "10.0.1.2.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)",

1
web_responsive/static/src/js/web_responsive.js

@ -85,6 +85,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, ' +

Loading…
Cancel
Save