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

scroll при ctrlKey

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58188 954022d7-b5bf-4e40-9824-e11837661b57
parent 46fdfa29
......@@ -1906,6 +1906,22 @@ function CEditorPage(api)
if (false === oThis.m_oApi.bInit_word_control)
return;
var _ctrl = false;
if (e.metaKey !== undefined)
_ctrl = e.ctrlKey || e.metaKey;
else
_ctrl = e.ctrlKey;
if (true === _ctrl)
{
if (e.preventDefault)
e.preventDefault();
else
e.returnValue = false;
return false;
}
var delta = 0;
var deltaX = 0;
var deltaY = 0;
......
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