mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 10:57:40 +02:00
Modal: Use data attribute to identify modals
This commit is contained in:
parent
d580fa6390
commit
fce3f0fdc8
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
$overlay.appendTo($('#layout'));
|
$overlay.appendTo($('#layout'));
|
||||||
|
|
||||||
this.on('click', '.modal-toggle', this.onModalToggleClick, this);
|
this.on('click', '[data-icinga-modal=true]', this.onModalToggleClick, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
Modal.prototype = new Icinga.EventListener();
|
Modal.prototype = new Icinga.EventListener();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user