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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49673 954022d7-b5bf-4e40-9824-e11837661b57
parent 64b4a70b
...@@ -4695,7 +4695,7 @@ PasteProcessor.prototype = ...@@ -4695,7 +4695,7 @@ PasteProcessor.prototype =
function SafariIntervalFocus() function SafariIntervalFocus()
{ {
if (window.editor && window.editor.WordControl && window.editor.WordControl.IsFocus && !window.editor.WordControl.TextBoxInputMode) if (window.editor && window.editor.WordControl && window.editor.WordControl.IsFocus && (!window.editor.WordControl.TextBoxInputFocus))
{ {
var pastebin = document.getElementById(COPY_ELEMENT_ID); var pastebin = document.getElementById(COPY_ELEMENT_ID);
if (pastebin) if (pastebin)
......
...@@ -2189,6 +2189,9 @@ function CEditorPage(api) ...@@ -2189,6 +2189,9 @@ function CEditorPage(api)
e.preventDefault(); e.preventDefault();
return false; return false;
} }
if (global_keyboardEvent.CtrlKey == true && (global_keyboardEvent.KeyCode == 86 || global_keyboardEvent.KeyCode == 67))
oWordControl.bIsUseKeyPress = false;
} }
this.onKeyUp = function(e) this.onKeyUp = function(e)
......
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