Commit 2d24f11e authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

Fix #20732, #20757

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50330 954022d7-b5bf-4e40-9824-e11837661b57
parent 33f2e27c
......@@ -4601,6 +4601,13 @@ function DefaultKeyDownHandle(drawingObjectsController, e)
}
case STATES_ID_NULL:
{
// Если открыт iframe, то нельзя удалить диаграмму
if ( drawingObjectsController.selectedObjects.length == 1 )
{
if ( (drawingObjectsController.selectedObjects[0] instanceof CChartAsGroup) && (drawingObjectsController.selectedObjects[0].chart.bChartEditor) )
break;
}
drawingObjectsController.drawingObjects.objectLocker.reset();
for(var i = 0; i < drawingObjectsController.selectedObjects.length; ++i)
{
......
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