summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/snippets.editor.js
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2017-06-03 01:24:21 +0200
committerOlivier Dony <odo@openerp.com>2017-06-03 01:24:21 +0200
commitde38d0262b17f8e55926ac051f685afca2a82804 (patch)
tree4404a556a022c40521d6fe6cc9c3c84240a24692 /addons/web_editor/static/src/js/snippets.editor.js
parent22745668cf66d802899dac526d810eba64b28c4b (diff)
parent76cd8d2558d2a1fc11681dbc4a134ba06fb698c0 (diff)
[MERGE] Forward-port 10.0 up to 76cd8d2558d2a1fc11681dbc4a134ba06fb698c0
Diffstat (limited to 'addons/web_editor/static/src/js/snippets.editor.js')
-rw-r--r--addons/web_editor/static/src/js/snippets.editor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/js/snippets.editor.js b/addons/web_editor/static/src/js/snippets.editor.js
index 42f2103f95f..e5d184117f4 100644
--- a/addons/web_editor/static/src/js/snippets.editor.js
+++ b/addons/web_editor/static/src/js/snippets.editor.js
@@ -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) {