[FIX] web_editor: hide customize menu when there are no options
This commit is contained in:
@@ -1118,7 +1118,7 @@ data.Editor = Class.extend({
|
||||
}).bind(this));
|
||||
|
||||
// Activate the overlay
|
||||
$style_button.toggleClass("hidden", $ul.children(":not(.divider):not(.hidden)").length === 0);
|
||||
$style_button.toggleClass("hidden", $ul.children(":not(.o_main_header):not(.divider):not(.hidden)").length === 0);
|
||||
this.$overlay.toggleClass("oe_active", !!focus);
|
||||
|
||||
function _do_action_focus(style, $dest) {
|
||||
|
||||
Reference in New Issue
Block a user