Include mootools as first script.

This commit is contained in:
Michal Čihař
2010-01-25 11:50:14 +00:00
parent 201d0e892c
commit df1671d1c4
2 changed files with 1 additions and 2 deletions

View File

@@ -545,6 +545,7 @@ $_REQUEST['js_frame'] = PMA_ifSetOr($_REQUEST['js_frame'], '');
* @global array $js_include
*/
$GLOBALS['js_include'] = array();
$GLOBALS['js_include'][] = 'mootools.js';
/**
* holds locale messages required by JavaScript function

View File

@@ -112,8 +112,6 @@ $GLOBALS['js_events'][] = array(
'function' => 'PMA_TT_init',
);
$GLOBALS['js_include'][] = 'mootools.js';
foreach ($GLOBALS['js_include'] as $js_script_file) {
echo '<script src="./js/' . $js_script_file . '?ts=' . filemtime('./js/' . $js_script_file) . '" type="text/javascript"></script>' . "\n";
}