From 590a2e6d0cac0c0b255ec968caeb8cf6bc758f2c Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 28 Feb 2018 17:45:00 +0300 Subject: [PATCH] [Common] Window: bug in checking if the window is modal --- apps/common/main/lib/component/Window.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/main/lib/component/Window.js b/apps/common/main/lib/component/Window.js index e4387beaa..e3f503b68 100644 --- a/apps/common/main/lib/component/Window.js +++ b/apps/common/main/lib/component/Window.js @@ -785,7 +785,7 @@ define([ isLocked: function() { return this.$window.hasClass('dethrone') || - (!this.options.modal && this.$window.parent().find('.asc-window.modal:visible').length); + (!this.initConfig.modal && this.$window.parent().find('.asc-window.modal:visible').length); }, getChild: function(selector) {