diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index b4702bdeb..4b0d3e5e4 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -2601,13 +2601,8 @@ define([ }, setOleData: function(obj) { - var callback = function(value) { - Common.Gateway.internalMessage('resize', { - width: value.width, height: value.height - }); - }; if ((typeof obj === 'object' || obj==="empty") && this.api) { - this.api.asc_addTableOleObjectInOleEditor(typeof obj === 'object' ? obj : undefined, callback); + this.api.asc_addTableOleObjectInOleEditor(typeof obj === 'object' ? obj : undefined); this.isFrameClosed = false; } },