Commit 42ae2cd6 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@48530 954022d7-b5bf-4e40-9824-e11837661b57
parent 1af04087
......@@ -391,6 +391,8 @@ DrawingObjectsController.prototype =
if(grouped_objects.length < 2)
return null;
History.Create_NewPoint();
this.resetSelection();
var max_x, min_x, max_y, min_y;
......
......@@ -56,13 +56,11 @@ function CChartTitle(chartGroup, type)
CChartTitle.prototype =
{
getObjectType: function()
{
return CLASS_TYPE_CHART_TITLE;
},
Get_Id: function()
{
return this.Id;
......
......@@ -1633,7 +1633,7 @@ function RotateState(drawingObjectsController, drawingObjects, majorObject)
var track_objects = this.drawingObjectsController.arrTrackObjects;
for(i =0; i < track_objects.length; ++i)
{
this.drawingObjects.lockDrawingObject(track_objects[i].originalObject.Get_Id(), true, true)
this.drawingObjects.lockDrawingObject(track_objects[i].originalObject.Get_Id(), false, false)
}
var track_objects2 = [];
for(i = 0; i < track_objects.length; ++i)
......@@ -1757,7 +1757,7 @@ function ResizeState(drawingObjectsController, drawingObjects, majorObject, card
var track_objects = this.drawingObjectsController.arrTrackObjects;
for(var i =0; i < track_objects.length; ++i)
{
this.drawingObjects.lockDrawingObject(track_objects[i].originalObject.Get_Id(), true, true)
this.drawingObjects.lockDrawingObject(track_objects[i].originalObject.Get_Id(), false, false)
}
var track_objects2 = [];
for(i = 0; i < track_objects.length; ++i)
......@@ -2030,7 +2030,7 @@ function TrackNewShapeState(drawingObjectsController, drawingObjects, presetGeom
//лочим добавленный шейп
var worksheet = this.drawingObjects.getWorksheet();
worksheet.collaborativeEditing.onStartCheckLock();
this.drawingObjects.lockDrawingObject(this.resultObject.Get_Id(), true, true);
this.drawingObjects.lockDrawingObject(this.resultObject.Get_Id(), false, false);
worksheet.collaborativeEditing.onEndCheckLock(function(bLock){});
asc["editor"].asc_endAddShape();
};
......@@ -2256,7 +2256,7 @@ function MoveState(drawingObjectsController, drawingObjects, startX, startY, rec
var track_objects = this.drawingObjectsController.arrTrackObjects;
for(var i =0; i < track_objects.length; ++i)
{
this.drawingObjects.lockDrawingObject(track_objects[i].originalObject.Get_Id(), true, true)
this.drawingObjects.lockDrawingObject(track_objects[i].originalObject.Get_Id(), false, false)
}
var track_objects2 = [];
for(i = 0; i < track_objects.length; ++i)
......@@ -2378,7 +2378,7 @@ function ChangeAdjState(drawingObjectsController, drawingObjects)
var track_objects = this.drawingObjectsController.arrTrackObjects;
for(var i =0; i < track_objects.length; ++i)
{
this.drawingObjects.lockDrawingObject(track_objects[i].originalShape.Get_Id(), true, true)
this.drawingObjects.lockDrawingObject(track_objects[i].originalShape.Get_Id(), false, false)
}
var track_objects2 = [];
for(i = 0; i < track_objects.length; ++i)
......@@ -2904,7 +2904,7 @@ function MoveInGroupState(drawingObjectsController, drawingObjects, group, start
var worksheet = this.drawingObjects.getWorksheet();
worksheet.collaborativeEditing.onStartCheckLock();
this.drawingObjects.lockDrawingObject(this.group.Get_Id(), true, true);
this.drawingObjects.lockDrawingObject(this.group.Get_Id(), false, false);
var track_objects2 = [];
for(var i = 0; i < this.drawingObjectsController.arrTrackObjects.length; ++i)
{
......@@ -3029,7 +3029,7 @@ function ChangeAdjInGroupState(drawingObjectsController, drawingObjects, group)
var worksheet = this.drawingObjects.getWorksheet();
worksheet.collaborativeEditing.onStartCheckLock();
this.drawingObjects.lockDrawingObject(this.group.Get_Id(), true, true);
this.drawingObjects.lockDrawingObject(this.group.Get_Id(), false, false);
var track_objects2 = [];
for(var i = 0; i < this.drawingObjectsController.arrTrackObjects.length; ++i)
{
......@@ -3139,7 +3139,7 @@ function RotateInGroupState(drawingObjectsController, drawingObjects, group, maj
var worksheet = this.drawingObjects.getWorksheet();
worksheet.collaborativeEditing.onStartCheckLock();
this.drawingObjects.lockDrawingObject(this.group.Get_Id(), true, true);
this.drawingObjects.lockDrawingObject(this.group.Get_Id(), false, false);
var track_objects2 = [];
for(var i = 0; i < this.drawingObjectsController.arrTrackObjects.length; ++i)
{
......@@ -3266,7 +3266,7 @@ function ResizeInGroupState(drawingObjectsController, drawingObjects, group, maj
{
var worksheet = this.drawingObjects.getWorksheet();
worksheet.collaborativeEditing.onStartCheckLock();
this.drawingObjects.lockDrawingObject(this.group.Get_Id(), true, true);
this.drawingObjects.lockDrawingObject(this.group.Get_Id(), false, false);
var track_objects2 = [];
for(var i = 0; i < this.drawingObjectsController.arrTrackObjects.length; ++i)
{
......
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