From 0a7fbab33f70502f799aa08cae29e8cd9e44f5a8 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 28 Jan 2020 11:40:14 +0300 Subject: [PATCH] Fix Bug 44270 --- apps/common/main/lib/component/LoadMask.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/common/main/lib/component/LoadMask.js b/apps/common/main/lib/component/LoadMask.js index 2d5801b6e..80afccdec 100644 --- a/apps/common/main/lib/component/LoadMask.js +++ b/apps/common/main/lib/component/LoadMask.js @@ -133,7 +133,8 @@ define([ if (ownerEl.height()<1 || ownerEl.width()<1) loaderEl.css({visibility: 'hidden'}); - Common.util.Shortcuts.suspendEvents(); + if (ownerEl && ownerEl.closest('.asc-window.modal').length==0) + Common.util.Shortcuts.suspendEvents(); return this; }, @@ -144,7 +145,8 @@ define([ loaderEl && loaderEl.remove(); maskeEl = null; loaderEl = null; - Common.util.Shortcuts.resumeEvents(); + if (ownerEl && ownerEl.closest('.asc-window.modal').length==0) + Common.util.Shortcuts.resumeEvents(); }, setTitle: function(title) {