[SSE] Fix bug 46367

This commit is contained in:
JuliaSvinareva 2020-08-31 14:29:07 +03:00
parent bdae0b8887
commit 360607717f

View file

@ -268,6 +268,7 @@ define([
} }
newNames.push(name); newNames.push(name);
}); });
var index = _.isNumber(index) ? index : this.api.asc_getWorksheetsCount();
this.api.asc_EndMoveSheet(index, newNames, _.findWhere(arrData, {type: 'onlyoffice'}).value); this.api.asc_EndMoveSheet(index, newNames, _.findWhere(arrData, {type: 'onlyoffice'}).value);
} }
} }