Avoid multiple loading of jQuery.

This commit is contained in:
Michal Čihař
2010-04-01 17:18:52 +02:00
parent b9364ac357
commit a2a0d9bb38
6 changed files with 17 additions and 23 deletions

View File

@@ -19,7 +19,6 @@ require_once './libraries/relation.lib.php'; // foreign keys
require_once './libraries/mysql_charsets.lib.php';
$GLOBALS['js_include'][] = 'tbl_change.js';
$GLOBALS['js_include'][] = 'jquery/jquery-1.4.2-min.js';
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.custom.min.js';
if ($GLOBALS['cfg']['PropertiesIconic'] == true) {
@@ -341,8 +340,8 @@ else {
$param = PMA_backquote($param);
$sql_query .= implode(', ', $param);
} // end if
// avoid a loop, for example when $cfg['DefaultTabTable'] is set
// avoid a loop, for example when $cfg['DefaultTabTable'] is set
// to 'tbl_select.php'
unset($param);