Commit 9cc13fd6 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 23215 - Активировать пункты правого меню только для выделенных элементов

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60053 954022d7-b5bf-4e40-9824-e11837661b57
parent 60cfa2bd
......@@ -1544,9 +1544,13 @@ CPresentation.prototype =
}
else if ( e.KeyCode == 9 && false === editor.isViewMode ) // Tab
{
var graphicObjects = this.Slides[this.CurPage].graphicObjects;
bRetValue = true;
if(this.Slides[this.CurPage])
{
var graphicObjects = this.Slides[this.CurPage].graphicObjects;
graphicObjects. selectNextObject(!e.ShiftKey ? 1 : -1);
this.Document_UpdateInterfaceState();
}
bRetValue = true;
}
else if ( e.KeyCode == 13 && false === editor.isViewMode ) // Enter
{
......
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