[SSE] Send sheet name whe import xml
This commit is contained in:
parent
ea53ab8db5
commit
c2d4f8af02
|
@ -298,9 +298,9 @@ define([
|
||||||
handler: function (result, settings) {
|
handler: function (result, settings) {
|
||||||
if (result == 'ok' && settings) {
|
if (result == 'ok' && settings) {
|
||||||
if (settings.destination)
|
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
|
else
|
||||||
me.api.asc_ImportXmlEnd(fileContent, me.createSheetName());
|
me.api.asc_ImportXmlEnd(fileContent, null, me.createSheetName());
|
||||||
}
|
}
|
||||||
Common.NotificationCenter.trigger('edit:complete', me);
|
Common.NotificationCenter.trigger('edit:complete', me);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue