[FIX] web: menu: correctly show unfolded submenu
commit 69d4aa363b replaces show()/hide() by classname o_hidden
but the folded submenus were still hidden using .hide()
thus they always remained invisible.
This commit is contained in:
@@ -44,7 +44,7 @@ var Menu = Widget.extend({
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Hide second level submenus
|
// 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) {
|
if (self.current_menu) {
|
||||||
self.open_menu(self.current_menu);
|
self.open_menu(self.current_menu);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user