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); }