Disable all form controls on submit to prevent resubmission
fixes #7151
This commit is contained in:
parent
31400ea16a
commit
1bfbce98ac
|
@ -274,6 +274,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
// Disable all form controls to prevent resubmission except for our search input
|
||||
// Note that disabled form inputs will not be enabled via JavaScript again
|
||||
$form.find(':input:not(#search):not(:disabled)').prop('disabled', true);
|
||||
|
||||
icinga.loader.loadUrl(url, $target, data, method);
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue