diff options
author | Michal Čihař <mcihar@suse.cz> | 2013-05-22 17:45:58 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2013-05-24 11:59:38 +0400 |
commit | 31cfc4e34e553dfedfa0b48ea2460b5640d95254 (patch) | |
tree | 23cc9e359c043e82fa988c87799d5bef4c6416c1 /js/indexes.js | |
parent | e03449460ab1d343b4ac1d838fdf53354bb2d054 (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.js | 1 |
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(); |