mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
Fix that when pushing ENTER in a form with just <buttons> no button is sent
This commit is contained in:
parent
f8f27e046d
commit
62544111ff
@ -205,6 +205,9 @@
|
||||
|
||||
if ($button.length === 0) {
|
||||
$button = $('input[type=submit]', $form).first();
|
||||
if ($button.length === 0) {
|
||||
$button = $('button[type=submit]', $form).first();
|
||||
}
|
||||
}
|
||||
|
||||
event.stopPropagation();
|
||||
|
Loading…
x
Reference in New Issue
Block a user