summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/snippets.editor.js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2017-06-06 19:38:29 +0200
committerChristophe Simonis <chs@odoo.com>2017-06-06 19:38:29 +0200
commit99c34c41193660f6aa2d6958cea5956f87bfc59b (patch)
treefac338bcb4d007a84276a4c7cc8a4e16dd20ea14 /addons/web_editor/static/src/js/snippets.editor.js
parent3ac160aa09ef63df5fe1d057aeb3a9c9e2610e77 (diff)
parent6f3eada2c3a5c0a21c9b3fef3bef3f655b0892e4 (diff)
[MERGE] forward port branch saas-16 up to 6f3eada2c3a
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 59f523126d9..f68bf8756bb 100644
--- a/addons/web_editor/static/src/js/snippets.editor.js
+++ b/addons/web_editor/static/src/js/snippets.editor.js
@@ -1120,7 +1120,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) {