From 4a3462cc7b25d3829385f7fb85c2b6ce80555216 Mon Sep 17 00:00:00 2001
From: "Oleg.Korshul" <Oleg.Korshul@OnlyOffice.com>
Date: Tue, 1 Sep 2015 10:32:53 +0000
Subject: [PATCH] git-svn-id:
 svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64426
 954022d7-b5bf-4e40-9824-e11837661b57

---
 PowerPoint/Drawing/HtmlPage.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/PowerPoint/Drawing/HtmlPage.js b/PowerPoint/Drawing/HtmlPage.js
index e2f4874c9..8101e6928 100644
--- a/PowerPoint/Drawing/HtmlPage.js
+++ b/PowerPoint/Drawing/HtmlPage.js
@@ -1961,13 +1961,13 @@ function CEditorPage(api)
         oWordControl.StartUpdateOverlay();
 
         oWordControl.bIsUseKeyPress = (oWordControl.m_oLogicDocument.OnKeyDown(global_keyboardEvent) === true) ? false : true;
+
+        oWordControl.EndUpdateOverlay();
         if (false === oWordControl.bIsUseKeyPress || true === global_keyboardEvent.AltKey)
         {
             e.preventDefault();
             return false;
         }
-
-        oWordControl.EndUpdateOverlay();
     }
 
     this.DisableTextEATextboxAttack = function()
-- 
2.30.9