diff --git a/adminer/static/functions.js b/adminer/static/functions.js index fa81e0fe..45b50a24 100644 --- a/adminer/static/functions.js +++ b/adminer/static/functions.js @@ -207,8 +207,8 @@ function textareaKeydown(target, event, tab, button) { */ function searchKeydown(form, event) { var target = event.target || event.srcElement; - if (/select/i.test(target.tagName) && (event.keyCode == 13 || event.keyCode == 10)) { // shiftKey and rest allowed - form.submit(); + if (/select/i.test(target.tagName)) { + textareaKeydown(target, event); } } diff --git a/changes.txt b/changes.txt index 70b1dfe8..b055a6c1 100644 --- a/changes.txt +++ b/changes.txt @@ -3,7 +3,7 @@ Ability to save expression in edit Respect default database collation (bug #3191489) Don't export triggers without table (bug #3193489) Esc to focus next field in Tab textarea (thanks to David Grudl) -Send select search form by Enter on Enum editor and textarea Ctrl+Enter working in IE AJAX forms in Google Chrome Parse UTF-16 and UTF-8 BOM in all text uploads