diff options
author | Marc Delisle <marc@infomarc.info> | 2014-12-15 15:29:36 +0300 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2014-12-15 15:29:36 +0300 |
commit | 8620242e68e91055a6741300a3df83860926cab8 (patch) | |
tree | 786df8a0fdac64f89fc4f97c26b553f204eb2c88 /js/console.js | |
parent | 7b206639cc580a96e119ee66a1d1d87acd37a87c (diff) | |
parent | 57c498f060f340654a980845f5cd4e641410a774 (diff) |
Merge remote-tracking branch 'nisargjhaveri/console_focus_end'
Diffstat (limited to 'js/console.js')
-rw-r--r-- | js/console.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/console.js b/js/console.js index ee92067ac4..351a0dee42 100644 --- a/js/console.js +++ b/js/console.js @@ -582,6 +582,9 @@ var PMA_consoleInput = { if (queryString !== false) { PMA_consoleInput._historyCount = nextCount; PMA_consoleInput.setText(queryString, 'console'); + if (PMA_consoleInput._codemirror) { + editor.setCursor(editor.lineCount(), 0); + } event.preventDefault(); } } |