Commit 9b2b3321 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

delete unused isInit

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57791 954022d7-b5bf-4e40-9824-e11837661b57
parent 487440fb
...@@ -1265,7 +1265,6 @@ function DrawingObjects() { ...@@ -1265,7 +1265,6 @@ function DrawingObjects() {
var worksheet = null; var worksheet = null;
var asc_Range = asc.Range; var asc_Range = asc.Range;
var isInit = false;
var drawingCtx = null; var drawingCtx = null;
var overlayCtx = null; var overlayCtx = null;
var shapeCtx = null; var shapeCtx = null;
...@@ -1703,7 +1702,6 @@ function DrawingObjects() { ...@@ -1703,7 +1702,6 @@ function DrawingObjects() {
aObjectsSync = []; aObjectsSync = [];
var i; var i;
isInit = false;
aObjects = currentSheet.model.Drawings; aObjects = currentSheet.model.Drawings;
for (i = 0; currentSheet.model.Drawings && (i < currentSheet.model.Drawings.length); i++) for (i = 0; currentSheet.model.Drawings && (i < currentSheet.model.Drawings.length); i++)
{ {
...@@ -1778,7 +1776,6 @@ function DrawingObjects() { ...@@ -1778,7 +1776,6 @@ function DrawingObjects() {
_this.shiftMap = {}; _this.shiftMap = {};
worksheet.model.Drawings = aObjects; worksheet.model.Drawings = aObjects;
isInit = true;
}; };
...@@ -3278,12 +3275,6 @@ function DrawingObjects() { ...@@ -3278,12 +3275,6 @@ function DrawingObjects() {
aObjects.push(drawingObject); aObjects.push(drawingObject);
} }
/*if ( isInit ) {
_this.showDrawingObjects(false);
_this.sendGraphicObjectProps();
worksheet.model.workbook.handlers.trigger("asc_onEndAddShape");
}*/
if ( lockByDefault ) { if ( lockByDefault ) {
_this.objectLocker.reset(); _this.objectLocker.reset();
_this.objectLocker.addObjectId(drawingObject.graphicObject.Id); _this.objectLocker.addObjectId(drawingObject.graphicObject.Id);
......
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