[FIX] website: hide edit menu when the user click on save an wait reload
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user