diff options
| author | Denis Vermylen (dve) <dve@odoo.com> | 2016-06-24 11:38:51 +0200 |
|---|---|---|
| committer | Denis Vermylen (dve) <dve@odoo.com> | 2016-06-24 11:47:46 +0200 |
| commit | dce2a309d091c7ddb8e68869eebdfeb3b59c43a5 (patch) | |
| tree | b51e97588116d79ec43c6783721b40e6979c88d0 /addons | |
| parent | 69d4aa363b659e201d12451458181dbb7e46416c (diff) | |
[FIX] web: menu: correctly show unfolded submenu
commit 69d4aa363b6 replaces show()/hide() by classname o_hidden
but the folded submenus were still hidden using .hide()
thus they always remained invisible.
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/web/static/src/js/menu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/menu.js b/addons/web/static/src/js/menu.js index cab9e0b8794..83112ed3121 100644 --- a/addons/web/static/src/js/menu.js +++ b/addons/web/static/src/js/menu.js @@ -44,7 +44,7 @@ var Menu = Widget.extend({ }); // Hide second level submenus - this.$secondary_menus.find('.oe_menu_toggler').siblings('.oe_secondary_submenu').hide(); + this.$secondary_menus.find('.oe_menu_toggler').siblings('.oe_secondary_submenu').addClass('o_hidden'); if (self.current_menu) { self.open_menu(self.current_menu); } |
