Commit 7b0187a5 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

правка падения придобавлении листа

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55684 954022d7-b5bf-4e40-9824-e11837661b57
parent a71bdd69
......@@ -2970,7 +2970,7 @@ function DrawingObjects() {
_this.drawingArea = currentSheet.drawingArea;
_this.drawingArea.init();
_this.coordsManager = new CoordsManager(worksheet, true);
_this.drawingDocument = currentSheet.model.DrawingDocument;
_this.drawingDocument = currentSheet.model.DrawingDocument ? currentSheet.model.DrawingDocument : new CDrawingDocument(this);
_this.drawingDocument.drawingObjects = this;
_this.drawingDocument.AutoShapesTrack = autoShapeTrack;
_this.drawingDocument.TargetHtmlElement = document.getElementById('id_target_cursor');
......
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