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:23:03 +0200
committerChristophe Simonis <chs@odoo.com>2017-06-06 19:23:03 +0200
commit6f3eada2c3a5c0a21c9b3fef3bef3f655b0892e4 (patch)
tree82d444e6c02f7cb18f41dba24a045ad16d0cd4a4 /addons/web_editor/static/src/js/snippets.editor.js
parent7095cb5af5ddef5e89e2bc1da8add6bfff1ed10e (diff)
parentf687a27b79e2072ffe0de11722fa8ab1f7c9a6fd (diff)
[MERGE] forward port branch saas-15 up to f687a27b79e
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) {