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