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>2011-07-20 17:10:20 +0400
committerMichal Čihař <mcihar@suse.cz>2011-07-20 17:12:30 +0400
commitfc387fe531b6ca1e95f3ba1ad6fbcc499e0f2ccf (patch)
treed0cd0ca09109d50c3e6aaade26d9314898bfaee5 /db_routines.php
parentfbc2bbdc49865d8dc39f80e0ea70e5d26da39ec7 (diff)
Load codemirror only when needed
This needs verification with ajax requests.
Diffstat (limited to 'db_routines.php')
-rw-r--r--db_routines.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/db_routines.php b/db_routines.php
index 739e69a5d2..745d1f9287 100644
--- a/db_routines.php
+++ b/db_routines.php
@@ -21,6 +21,8 @@ $GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.custom.js';
$GLOBALS['js_include'][] = 'jquery/timepicker.js';
$GLOBALS['js_include'][] = 'rte/common.js';
$GLOBALS['js_include'][] = 'rte/routines.js';
+$GLOBALS['js_include'][] = 'codemirror/lib/codemirror.js';
+$GLOBALS['js_include'][] = 'codemirror/mode/mysql/mysql.js';
/**
* Include all other files