mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] keep left menu open when opening a new submenu
This commit is contained in:
@@ -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
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user