From e086acd52f7d265c8a10066ebf905315fc9b299e Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 30 May 2022 18:06:01 +0300 Subject: [PATCH] [SSE] Refactoring (remove resize callback) --- apps/spreadsheeteditor/main/app/controller/Main.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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; } },