Commit 1b011f7f 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@51197 954022d7-b5bf-4e40-9824-e11837661b57
parent 70267da3
......@@ -183,12 +183,13 @@ DrawingObjectsController.prototype =
deleteSelectedObjects: function()
{
var drawingObjectsController = this;
this.remove(-1);
/*var drawingObjectsController = this;
for(var i = drawingObjectsController.selectedObjects.length-1; i > -1 ; --i)
{
drawingObjectsController.selectedObjects[i].deleteDrawingBase();
}
drawingObjectsController.resetSelectionState();
drawingObjectsController.resetSelectionState();*/
},
setCellAlignCallBack: function (align) {
......@@ -571,7 +572,7 @@ DrawingObjectsController.prototype =
remove: function(dir)
{
this.checkSelectedObjectsAndCallback(this.removeCallback, [dir])
this.checkSelectedObjectsAndCallback(this.removeCallback, [dir]);
},
removeCallback: function(dir)
......
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