1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-15 02:54:28 +02:00

SQL command by AJAX

This commit is contained in:
Jakub Vrana
2010-10-18 23:44:00 +02:00
parent 6e3c7cba1f
commit d9fbb905f3
2 changed files with 7 additions and 5 deletions

View File

@@ -154,7 +154,7 @@ function textareaKeydown(target, event, tab, button) {
if (event.ctrlKey && (event.keyCode == 13 || event.keyCode == 10) && !event.altKey && !event.metaKey) { // shiftKey allowed
if (button) {
button.click();
} else {
} else if (!target.form.onsubmit || target.form.onsubmit() !== false) {
target.form.submit();
}
}