diff options
| author | Olivier Dony <odo@openerp.com> | 2017-06-03 01:24:21 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2017-06-03 01:24:21 +0200 |
| commit | de38d0262b17f8e55926ac051f685afca2a82804 (patch) | |
| tree | 4404a556a022c40521d6fe6cc9c3c84240a24692 /addons/web_editor/static/src/js/snippets.editor.js | |
| parent | 22745668cf66d802899dac526d810eba64b28c4b (diff) | |
| parent | 76cd8d2558d2a1fc11681dbc4a134ba06fb698c0 (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.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 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) { |
