From: Jakub Vrana Date: Sun, 17 Oct 2010 06:02:12 +0000 (+0200) Subject: Send the form by AJAX with Ctrl+Enter X-Git-Tag: v3.2.0~140^2~25 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=1a5bec94d978f3514f3ebbc3106e774bd00064b9;p=adminer.git Send the form by AJAX with Ctrl+Enter --- diff --git a/adminer/select.inc.php b/adminer/select.inc.php index fd91e16a..859de979 100644 --- a/adminer/select.inc.php +++ b/adminer/select.inc.php @@ -380,7 +380,7 @@ if (!$columns) { if (!information_schema(DB)) { ?>
- + diff --git a/adminer/static/functions.js b/adminer/static/functions.js index 0a441d58..c1ebf6f9 100644 --- a/adminer/static/functions.js +++ b/adminer/static/functions.js @@ -240,7 +240,7 @@ function selectDblClick(td, event, text) { }); input.rows = rows; input.onkeydown = function (event) { - return textareaKeydown(input, event || window.event); + return textareaKeydown(input, event || window.event, false, document.getElementById('save')); }; } if (document.selection) {