mirror of
https://github.com/vrana/adminer.git
synced 2025-08-15 11:04:02 +02:00
Send search form by Ctrl+Enter on <select>
This commit is contained in:
@@ -207,8 +207,8 @@ function textareaKeydown(target, event, tab, button) {
|
|||||||
*/
|
*/
|
||||||
function searchKeydown(form, event) {
|
function searchKeydown(form, event) {
|
||||||
var target = event.target || event.srcElement;
|
var target = event.target || event.srcElement;
|
||||||
if (/select/i.test(target.tagName) && (event.keyCode == 13 || event.keyCode == 10)) { // shiftKey and rest allowed
|
if (/select/i.test(target.tagName)) {
|
||||||
form.submit();
|
textareaKeydown(target, event);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -3,7 +3,7 @@ Ability to save expression in edit
|
|||||||
Respect default database collation (bug #3191489)
|
Respect default database collation (bug #3191489)
|
||||||
Don't export triggers without table (bug #3193489)
|
Don't export triggers without table (bug #3193489)
|
||||||
Esc to focus next field in Tab textarea (thanks to David Grudl)
|
Esc to focus next field in Tab textarea (thanks to David Grudl)
|
||||||
Send select search form by Enter on <select>
|
Send select search form by Ctrl+Enter on <select>
|
||||||
Enum editor and textarea Ctrl+Enter working in IE
|
Enum editor and textarea Ctrl+Enter working in IE
|
||||||
AJAX forms in Google Chrome
|
AJAX forms in Google Chrome
|
||||||
Parse UTF-16 and UTF-8 BOM in all text uploads
|
Parse UTF-16 and UTF-8 BOM in all text uploads
|
||||||
|
Reference in New Issue
Block a user