The branch, master has been updated via d6b8d71f95b9c41b11de35a69269213e9902a5c8 (commit) from 80d524c20272438c2c3787c62aae4a61b1b44c52 (commit)
- Log ----------------------------------------------------------------- commit d6b8d71f95b9c41b11de35a69269213e9902a5c8 Author: Gareth Pursehouse garethop@users.sourceforge.net Date: Tue May 17 01:38:14 2011 -0700
ctrl-enter in sql editor to submit query instead of having to click "go" button
-----------------------------------------------------------------------
Summary of changes: js/functions.js | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/js/functions.js b/js/functions.js index fd8b36b..570f578 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1195,7 +1195,12 @@ $(document).ready(function(){ } });
- $('#sqlquery').focus(); + $('#sqlquery').focus().keydown(function (e) { + if (e.ctrlKey && e.keyCode == 13) { + $("#sqlqueryform").submit(); + } + }); + if ($('#input_username')) { if ($('#input_username').val() == '') { $('#input_username').focus();
hooks/post-receive