[FIX] keep left menu open when opening a new submenu

This commit is contained in:
Holger Brunn
2015-06-03 07:12:35 +02:00
parent 19e0c9759a
commit 32927dd164

View File

@@ -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
);
},