forked from Techsystech/web
[FIX] keep left menu open when opening a new submenu
parent
19e0c9759a
commit
32927dd164
|
@ -198,7 +198,7 @@ openerp.web_menu_autohide = function(instance)
|
|||
{
|
||||
//close if it's not a menu containing other menus
|
||||
this.close_leftbar = (
|
||||
$element.parents(openerp.client.leftbar_query).length == 0 &&
|
||||
$element.parents(openerp.client.navbar_query).length == 0 &&
|
||||
$element.parent().children('ul').length == 0
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue