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

правка бага 21016 - [Copy&Paste] При cut&paste нескольких автофигур, одна фигура остается на листе

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51028 954022d7-b5bf-4e40-9824-e11837661b57
parent 8f1c4a7e
...@@ -184,7 +184,7 @@ DrawingObjectsController.prototype = ...@@ -184,7 +184,7 @@ DrawingObjectsController.prototype =
deleteSelectedObjects: function() deleteSelectedObjects: function()
{ {
var drawingObjectsController = this; var drawingObjectsController = this;
for(var i = 0; i < drawingObjectsController.selectedObjects.length; ++i) for(var i = drawingObjectsController.selectedObjects.length-1; i > -1 ; --i)
{ {
drawingObjectsController.selectedObjects[i].deleteDrawingBase(); drawingObjectsController.selectedObjects[i].deleteDrawingBase();
} }
......
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