Commit b33dbd85 authored by Oleg Korshul's avatar Oleg Korshul

keyboard buttons accesskey disabled

parent 63f7a7fb
......@@ -694,6 +694,7 @@ function CEditorPage(api)
};
window.onkeydown = this.onKeyDown;
window.onkeyup = this.onKeyUp;
}
// --------------------------------------------------------------------------
......@@ -2208,12 +2209,21 @@ function CEditorPage(api)
global_keyboardEvent.CtrlKey = false;
global_keyboardEvent.ShiftKey = false;
global_keyboardEvent.AltGr = false;
if (oThis.m_oApi.isReporterMode)
{
AscCommon.stopEvent(e);
return false;
}
};
this.onKeyDown = function(e)
{
oThis.m_oApi.checkLastWork();
if (oThis.m_oApi.isReporterMode)
AscCommon.stopEvent(e);
if (oThis.m_oApi.isLongAction())
{
e.preventDefault();
......
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