From 66652f2f0c57d5511781901ff6e62dc6d9591c83 Mon Sep 17 00:00:00 2001 From: azivner Date: Wed, 20 Dec 2017 22:30:44 -0500 Subject: [PATCH] bind ctrl+enter to execute query in SQL console --- public/javascripts/dialogs/sql_console.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/javascripts/dialogs/sql_console.js b/public/javascripts/dialogs/sql_console.js index 171b57d57..2435328a4 100644 --- a/public/javascripts/dialogs/sql_console.js +++ b/public/javascripts/dialogs/sql_console.js @@ -58,6 +58,8 @@ const sqlConsole = (function() { $(document).bind('keydown', 'alt+o', showDialog); + queryEl.bind('keydown', 'ctrl+return', execute); + executeButton.click(execute); return {