diff --git a/src/editor/model/Editor.js b/src/editor/model/Editor.js index 40e61fa2eb..94dc911f37 100644 --- a/src/editor/model/Editor.js +++ b/src/editor/model/Editor.js @@ -346,8 +346,8 @@ module.exports = Backbone.Model.extend({ for (var el in obj) store[el] = obj[el]; }); - sm.store(store, () => { - clb && clb(); + sm.store(store, (res) => { + clb && clb(res); this.set('changesCount', 0); this.trigger('storage:store', store); });