[Common] Window: bug in checking if the window is modal

This commit is contained in:
Julia Radzhabova 2018-02-28 17:45:00 +03:00
parent 2d8fe7e797
commit 590a2e6d0c

View file

@ -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) {