[FIX] website: hide edit menu when the user click on save an wait reload

This commit is contained in:
Christophe Matthieu
2019-02-19 08:43:51 +00:00
parent e3ad11d972
commit 9fff365d4a
@@ -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();