[Common] Window: bug in checking if the window is modal
This commit is contained in:
parent
2d8fe7e797
commit
590a2e6d0c
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue