mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
AdminerBeforeUnload: No error for Ctrl+Enter
This commit is contained in:
@@ -471,9 +471,7 @@ function bodyKeydown(event, button) {
|
||||
if (target.form[button]) {
|
||||
target.form[button].click();
|
||||
} else {
|
||||
if (target.form.onsubmit) {
|
||||
target.form.onsubmit();
|
||||
}
|
||||
target.form.dispatchEvent(new Event('submit', {bubbles: true}));
|
||||
target.form.submit();
|
||||
}
|
||||
target.focus();
|
||||
|
Reference in New Issue
Block a user