From b91210e78607c28a627e98fcea1d070c1cc4166b Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 26 Oct 2021 11:27:25 +0300 Subject: [PATCH] [DE] Forms refactoring --- .../forms/app/controller/ApplicationController.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/documenteditor/forms/app/controller/ApplicationController.js b/apps/documenteditor/forms/app/controller/ApplicationController.js index 25e84cd04..7985f3dbc 100644 --- a/apps/documenteditor/forms/app/controller/ApplicationController.js +++ b/apps/documenteditor/forms/app/controller/ApplicationController.js @@ -646,6 +646,10 @@ define([ this.submitedTooltip.show(); } } + if ( type == Asc.c_oAscAsyncActionType.BlockInteraction && + !((id == Asc.c_oAscAsyncAction['LoadDocumentFonts'] || id == Asc.c_oAscAsyncAction['ApplyChanges'] || id == Asc.c_oAscAsyncAction['DownloadAs']) && Common.Utils.ModalWindow.isVisible()) ) { + this.api.asc_enableKeyEvents(true); + } }, onDocMouseMoveStart: function() {