Browse Source

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

pull/131/head
Holger Brunn 9 years ago
parent
commit
32927dd164
  1. 2
      web_menu_autohide/static/src/js/web_menu_autohide.js

2
web_menu_autohide/static/src/js/web_menu_autohide.js

@ -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…
Cancel
Save