Commit 30c6c8bf 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@57403 954022d7-b5bf-4e40-9824-e11837661b57
parent 25e1fb24
......@@ -1443,13 +1443,12 @@ DrawingObjectsController.prototype =
deleteSelectedObjects: function()
{
var content = this.getTargetDocContent();
if(content && !content.Selection.Use)
{
return;
}
this.remove(-1);
/*var drawingObjectsController = this;
for(var i = drawingObjectsController.selectedObjects.length-1; i > -1 ; --i)
{
drawingObjectsController.selectedObjects[i].deleteDrawingBase();
}
drawingObjectsController.resetSelectionState();*/
},
......
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