Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2014-12-15 15:29:36 +0300
committerMarc Delisle <marc@infomarc.info>2014-12-15 15:29:36 +0300
commit8620242e68e91055a6741300a3df83860926cab8 (patch)
tree786df8a0fdac64f89fc4f97c26b553f204eb2c88 /js/console.js
parent7b206639cc580a96e119ee66a1d1d87acd37a87c (diff)
parent57c498f060f340654a980845f5cd4e641410a774 (diff)
Merge remote-tracking branch 'nisargjhaveri/console_focus_end'
Diffstat (limited to 'js/console.js')
-rw-r--r--js/console.js3
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();
}
}