Commit d0021d85 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@49990 954022d7-b5bf-4e40-9824-e11837661b57
parent 55e825c7
......@@ -520,6 +520,17 @@ DrawingObjectsController.prototype =
this.updateSelectionState();
},
resetSelectionState2: function()
{
var count = this.selectedObjects.length;
while(count > 0)
{
this.selectedObjects[0].deselect(this);
--count;
}
this.changeCurrentState(new NullState(this, this.drawingObjects));
},
resetSelection: function()
{
var count = this.selectedObjects.length;
......@@ -796,7 +807,7 @@ DrawingObjectsController.prototype =
setSelectionState: function(state)
{
this.resetSelectionState();
this.resetSelectionState2();
switch(state.id)
{
case STATES_ID_TEXT_ADD:
......
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