mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
cell/document/empty-workbook to function-closure
This commit is contained in:
@ -73,8 +73,8 @@
|
||||
"../common/wordcopypaste.js",
|
||||
|
||||
"../cell/apiDefines.js",
|
||||
|
||||
"../cell/document/empty-workbook.js",
|
||||
|
||||
"../cell/utils/utils.js",
|
||||
"../cell/model/UndoRedo.js",
|
||||
"../cell/model/clipboard.js",
|
||||
|
||||
@ -459,7 +459,7 @@ var editor;
|
||||
spreadsheet_api.prototype.asc_LoadEmptyDocument = function() {
|
||||
this.CoAuthoringApi.auth(this.getViewMode());
|
||||
|
||||
var emptyWorkbook = getEmptyWorkbook() + "";
|
||||
var emptyWorkbook = AscCommonExcel.getEmptyWorkbook() + "";
|
||||
if (emptyWorkbook.length && (Asc.c_oSerFormat.Signature === emptyWorkbook.substring(0, Asc.c_oSerFormat.Signature.length))) {
|
||||
this.isChartEditor = true;
|
||||
this._startOpenDocument(emptyWorkbook);
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user