[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:
Denis Vermylen (dve)
2016-06-24 11:47:46 +02:00
parent 69d4aa363b
commit dce2a309d0
+1 -1
View File
@@ -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);
}