Commit f3937123 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

onKeyDownNoActiveControl


git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60348 954022d7-b5bf-4e40-9824-e11837661b57
parent 1b9a1762
...@@ -1887,6 +1887,26 @@ function CEditorPage(api) ...@@ -1887,6 +1887,26 @@ function CEditorPage(api)
oWordControl.EndUpdateOverlay(); oWordControl.EndUpdateOverlay();
} }
this.onKeyDownNoActiveControl = function(e)
{
var bSendToEditor = false;
if (e.CtrlKey && !e.ShiftKey)
{
switch (e.KeyCode)
{
case 80: // P
case 83: // S
bSendToEditor = true;
break;
default:
break;
}
}
return bSendToEditor;
}
this.onKeyDownTBIM = function(e) this.onKeyDownTBIM = function(e)
{ {
var oWordControl = oThis; var oWordControl = oThis;
......
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