Commit 8d9709cf authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

Откатил

#53358(Alexander.Trofimov)
перенес _prepareComments и _prepareDrawingObjects в init WorksheetView

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@53390 954022d7-b5bf-4e40-9824-e11837661b57
parent 0bf6ea8f
...@@ -1025,6 +1025,8 @@ ...@@ -1025,6 +1025,8 @@
var ws = this.wsViews[i]; var ws = this.wsViews[i];
if (!(ws instanceof asc_WSV)) { if (!(ws instanceof asc_WSV)) {
ws = this.wsViews[i] = this._createWorksheetView(wb.getWorksheet(i)); ws = this.wsViews[i] = this._createWorksheetView(wb.getWorksheet(i));
ws._prepareComments();
ws._prepareDrawingObjects();
} }
return ws; return ws;
}, },
......
...@@ -987,10 +987,6 @@ ...@@ -987,10 +987,6 @@
this._cleanCellsTextMetricsCache(); this._cleanCellsTextMetricsCache();
this._prepareCellTextMetricsCache(this.visibleRange); this._prepareCellTextMetricsCache(this.visibleRange);
// Код перенесён из getWorksheet
this._prepareComments();
this._prepareDrawingObjects();
// initializing is completed // initializing is completed
this.handlers.trigger("initialized"); this.handlers.trigger("initialized");
}, },
......
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