mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-22 17:37:45 +02:00
modal.js: Register onModalClose event also on .modal-cancel
selector
This commit is contained in:
parent
8b510e3163
commit
c2b475585f
@ -23,7 +23,7 @@
|
||||
this.on('change', '#modal form input.autosubmit', this.onFormAutoSubmit, this);
|
||||
this.on('click', '[data-icinga-modal]', this.onModalToggleClick, this);
|
||||
this.on('mousedown', '#layout > #modal', this.onModalLeave, this);
|
||||
this.on('click', '.modal-header > button', this.onModalClose, this);
|
||||
this.on('click', '.modal-header > button, .modal-cancel', this.onModalClose, this);
|
||||
this.on('keydown', this.onKeyDown, this);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user