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

checkSelectedObjectsAndCallback2

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64977 954022d7-b5bf-4e40-9824-e11837661b57
parent 8db4e364
......@@ -6470,6 +6470,28 @@ DrawingObjectsController.prototype =
return this.drawingObjects.objectLocker.checkObjects(callback2);
},
checkSelectedObjectsAndCallback2: function(callback)
{
var selection_state = this.getSelectionState();
this.drawingObjects.objectLocker.reset();
for(var i = 0; i < this.selectedObjects.length; ++i)
{
this.drawingObjects.objectLocker.addObjectId(this.selectedObjects[i].Get_Id());
}
var _this = this;
var callback2 = function(bLock)
{
callback.apply(_this, bLock);
if(bLock)
{
_this.startRecalculate();
_this.drawingObjects.sendGraphicObjectProps();
}
};
return this.drawingObjects.objectLocker.checkObjects(callback2);
},
setGraphicObjectPropsCallBack: function(props)
{
var apply_props;
......
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