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_triggers.php
parentfbc2bbdc49865d8dc39f80e0ea70e5d26da39ec7 (diff)
Load codemirror only when needed
This needs verification with ajax requests.
Diffstat (limited to 'db_triggers.php')
-rw-r--r--db_triggers.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/db_triggers.php b/db_triggers.php
index aef164266d..4911f36b03 100644
--- a/db_triggers.php
+++ b/db_triggers.php
@@ -18,6 +18,8 @@ require_once './libraries/common.lib.php';
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.custom.js';
$GLOBALS['js_include'][] = 'rte/common.js';
$GLOBALS['js_include'][] = 'rte/triggers.js';
+$GLOBALS['js_include'][] = 'codemirror/lib/codemirror.js';
+$GLOBALS['js_include'][] = 'codemirror/mode/mysql/mysql.js';
/**
* Include all other files