From c2d4f8af02ff08c68ef2d12bde74cb7d0ff38a67 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 9 Dec 2022 12:36:38 +0300 Subject: [PATCH] [SSE] Send sheet name whe import xml --- apps/spreadsheeteditor/main/app/controller/DataTab.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/controller/DataTab.js b/apps/spreadsheeteditor/main/app/controller/DataTab.js index 298b90fdd6..070045995a 100644 --- a/apps/spreadsheeteditor/main/app/controller/DataTab.js +++ b/apps/spreadsheeteditor/main/app/controller/DataTab.js @@ -298,9 +298,9 @@ define([ handler: function (result, settings) { if (result == 'ok' && settings) { if (settings.destination) - me.api.asc_ImportXmlEnd(fileContent, settings.destination); + me.api.asc_ImportXmlEnd(fileContent, settings.destination, me.api.asc_getWorksheetName(me.api.asc_getActiveWorksheetIndex())); else - me.api.asc_ImportXmlEnd(fileContent, me.createSheetName()); + me.api.asc_ImportXmlEnd(fileContent, null, me.createSheetName()); } Common.NotificationCenter.trigger('edit:complete', me); }