Commit 996950ed authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

Исправлен баг с селектом объектов через Tab, Ctrl+A

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@54042 954022d7-b5bf-4e40-9824-e11837661b57
parent 5248835a
...@@ -5521,7 +5521,7 @@ function DefaultKeyDownHandle(drawingObjectsController, e) ...@@ -5521,7 +5521,7 @@ function DefaultKeyDownHandle(drawingObjectsController, e)
} }
} }
} }
//drawingObjectsController.drawingObjects.OnUpdateOverlay(); drawingObjectsController.drawingObjects.OnUpdateOverlay();
break; break;
} }
case STATES_ID_GROUP: case STATES_ID_GROUP:
...@@ -5583,7 +5583,7 @@ function DefaultKeyDownHandle(drawingObjectsController, e) ...@@ -5583,7 +5583,7 @@ function DefaultKeyDownHandle(drawingObjectsController, e)
group.select(drawingObjectsController); group.select(drawingObjectsController);
} }
} }
//drawingObjectsController.drawingObjects.OnUpdateOverlay(); drawingObjectsController.drawingObjects.OnUpdateOverlay();
break; break;
} }
} }
......
...@@ -604,11 +604,13 @@ ...@@ -604,11 +604,13 @@
var graphicObjects = t.handlers.trigger("getSelectedGraphicObjects"); var graphicObjects = t.handlers.trigger("getSelectedGraphicObjects");
if ( graphicObjects.length && t.enableKeyEvents ) { if ( graphicObjects.length && t.enableKeyEvents ) {
t.handlers.trigger("graphicObjectWindowKeyDown", event); var result = t.handlers.trigger("graphicObjectWindowKeyDown", event);
if (t.isCellEditMode) { if (t.isCellEditMode) {
t.handlers.trigger("stopCellEditing"); t.handlers.trigger("stopCellEditing");
t.isCellEditMode = false; t.isCellEditMode = false;
} }
if (result)
return result;
} }
// Двигаемся ли мы в выделенной области // Двигаемся ли мы в выделенной области
......
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