diff options
| author | Kishan Gajjar <kig@odoo.com> | 2017-02-28 17:55:05 +0530 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2017-06-01 17:08:49 +0200 |
| commit | 79477b8d96be47cca5609ce5e4dd84a7e7f64f0a (patch) | |
| tree | d0e3c93a268d909b5c676f43fd00931a221d1fcb /addons/web_editor/static/src | |
| parent | dbdbfa74321e74353e969591b2dbacae73854ec4 (diff) | |
[FIX] web_editor: hide customize menu when there are no options
Diffstat (limited to 'addons/web_editor/static/src')
| -rw-r--r-- | addons/web_editor/static/src/js/snippets.editor.js | 2 |
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 993a541e199..91269285235 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) { |
