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:
authorMichal Čihař <mcihar@suse.cz>2013-05-22 17:45:58 +0400
committerMichal Čihař <mcihar@suse.cz>2013-05-24 11:59:38 +0400
commit31cfc4e34e553dfedfa0b48ea2460b5640d95254 (patch)
tree23cc9e359c043e82fa988c87799d5bef4c6416c1 /js/indexes.js
parente03449460ab1d343b4ac1d838fdf53354bb2d054 (diff)
Hook SQL highlighter to more places
Unfortunately there are quite many places where SQL query might appear, hopefully I've made it correctly.
Diffstat (limited to 'js/indexes.js')
-rw-r--r--js/indexes.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/indexes.js b/js/indexes.js
index 919afe0011..b016f19463 100644
--- a/js/indexes.js
+++ b/js/indexes.js
@@ -159,6 +159,7 @@ AJAX.registerOnload('indexes.js', function () {
$('<div id="result_query"></div>')
.html(data.sql_query)
.prependTo('#page_content');
+ PMA_highlightSQL($('#page_content'));
}
PMA_commonActions.refreshMain(false, function () {
$("a.ajax[href^=#indexes]").click();