summaryrefslogtreecommitdiff
path: root/addons/website/static
diff options
context:
space:
mode:
authorBenjamin Vray <bvr@odoo.com>2020-10-09 11:48:05 +0000
committerqsm-odoo <qsm@odoo.com>2020-10-12 15:21:23 +0000
commit59584974aa891b1182164adac3d3563d882bcfd7 (patch)
tree3f5a2cf100d5b18e89bcf147062745176d474868 /addons/website/static
parent969aa3dc11061254c52cf06f0b96d36192d61d40 (diff)
[FIX] website, *: keep logged user buttons outside the autohide menu
*: portal The dividers were removed with the new header templates but we still needed them to know which items do not need to be folded in the auto-hide menu. Instead of adding these dividers again, we added a new class for these elements. part-of: #59640 task-2312878 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/website/static')
-rw-r--r--addons/website/static/src/js/content/menu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/js/content/menu.js b/addons/website/static/src/js/content/menu.js
index 1849e41fc0e..88f0dd7b268 100644
--- a/addons/website/static/src/js/content/menu.js
+++ b/addons/website/static/src/js/content/menu.js
@@ -441,7 +441,7 @@ publicWidget.registry.autohideMenu = publicWidget.Widget.extend({
$window.trigger('resize');
});
- dom.initAutoMoreMenu(this.$topMenu, {unfoldable: '.divider, .divider ~ li'});
+ dom.initAutoMoreMenu(this.$topMenu, {unfoldable: '.divider, .divider ~ li, .o_no_autohide_item'});
}
this.$topMenu.removeClass('o_menu_loading');
this.$topMenu.trigger('menu_loaded');