[FIX] web_editor: properly wait for save of the editor
A simple 'return' statement was removed by mistake with commit https://github.com/odoo/odoo/commit/a473453b3166a381130d9bd6ec4851b9e1ecab26
This commit is contained in:
@@ -145,7 +145,7 @@ var EditorMenuBar = Widget.extend({
|
||||
save: function (reload) {
|
||||
var self = this;
|
||||
this.snippetsMenu.cleanForSave();
|
||||
this._saveCroppedImages().then(function () {
|
||||
return this._saveCroppedImages().then(function () {
|
||||
return self.rte.save();
|
||||
}).then(function () {
|
||||
if (reload !== false) {
|
||||
|
||||
Reference in New Issue
Block a user