Avoid multiple loading of jQuery.
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
require_once './libraries/common.inc.php';
|
||||
require_once './libraries/Table.class.php';
|
||||
|
||||
$GLOBALS['js_include'][] = 'jquery/jquery-1.4.2-min.js';
|
||||
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.custom.min.js';
|
||||
|
||||
/**
|
||||
|
1
main.php
1
main.php
@@ -12,7 +12,6 @@
|
||||
define('PMA_COLORPICKER', true);
|
||||
require_once './libraries/common.inc.php';
|
||||
|
||||
$GLOBALS['js_include'][] = 'jquery/jquery-1.4.2-min.js';
|
||||
$GLOBALS['js_include'][] = 'colorpicker/js/colorpicker.js';
|
||||
$GLOBALS['js_include'][] = 'main_custom_color.js';
|
||||
|
||||
|
1
sql.php
1
sql.php
@@ -15,7 +15,6 @@ require_once './libraries/Table.class.php';
|
||||
require_once './libraries/check_user_privileges.lib.php';
|
||||
require_once './libraries/bookmark.lib.php';
|
||||
|
||||
$GLOBALS['js_include'][] = 'jquery/jquery-1.4.2-min.js';
|
||||
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.custom.min.js';
|
||||
|
||||
/**
|
||||
|
@@ -431,7 +431,6 @@ if (isset($return_to_sql_query)) {
|
||||
$GLOBALS['js_include'][] = 'tbl_change.js';
|
||||
$GLOBALS['js_include'][] = 'functions.js';
|
||||
// in case we call sql.php which needs those:
|
||||
$GLOBALS['js_include'][] = 'jquery/jquery-1.4.2-min.js';
|
||||
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.custom.min.js';
|
||||
|
||||
$active_page = $goto_include;
|
||||
|
@@ -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) {
|
||||
|
@@ -14,7 +14,6 @@ require_once './libraries/common.inc.php';
|
||||
require_once './libraries/mysql_charsets.lib.php';
|
||||
require_once './libraries/relation.lib.php';
|
||||
|
||||
$GLOBALS['js_include'][] = 'jquery/jquery-1.4.2-min.js';
|
||||
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.custom.min.js';
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user