diff options
| author | Christophe Matthieu <chm@odoo.com> | 2019-02-18 14:00:51 +0000 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2019-02-19 08:43:51 +0000 |
| commit | 9fff365d4a7eb16eda085b847e45ec37df7a3871 (patch) | |
| tree | ca55f731f49c4e4b767d8b19c26e67dbdb00fa9f /addons/website/static/src/js/editor/editor_menu.js | |
| parent | e3ad11d97244b8fb8a2ad244066b6219fe2b9b85 (diff) | |
[FIX] website: hide edit menu when the user click on save an wait reload
Diffstat (limited to 'addons/website/static/src/js/editor/editor_menu.js')
| -rw-r--r-- | addons/website/static/src/js/editor/editor_menu.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/website/static/src/js/editor/editor_menu.js b/addons/website/static/src/js/editor/editor_menu.js index cd48937b89e..ee504413e2f 100644 --- a/addons/website/static/src/js/editor/editor_menu.js +++ b/addons/website/static/src/js/editor/editor_menu.js @@ -177,6 +177,7 @@ var EditorMenu = Widget.extend({ _reload: function () { $('body').addClass('o_wait_reload'); this.wysiwyg.destroy(); + this.$el.hide(); window.location.hash = 'scrollTop=' + window.document.body.scrollTop; window.location.reload(true); return $.Deferred(); |
