Commit 7ad69b50 authored by Alexander.Trofimov's avatar Alexander.Trofimov

cell/document/empty-workbook to function-closure

parent 081ffe40
......@@ -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",
......
......@@ -483,7 +483,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);
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment