mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 05:44:36 +02:00
Event handler for form buttons, overrides table actions etc
This commit is contained in:
parent
3286dfe202
commit
d60d3d4193
@ -80,6 +80,8 @@
|
|||||||
// We treat tr's with a href attribute like links
|
// We treat tr's with a href attribute like links
|
||||||
$(document).on('click', 'tr[href]', { self: this }, this.linkClicked);
|
$(document).on('click', 'tr[href]', { self: this }, this.linkClicked);
|
||||||
|
|
||||||
|
$(document).on('click', 'button', { self: this }, this.submitForm);
|
||||||
|
|
||||||
// We catch all form submit events
|
// We catch all form submit events
|
||||||
$(document).on('submit', 'form', { self: this }, this.submitForm);
|
$(document).on('submit', 'form', { self: this }, this.submitForm);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user