Skip to content

Commit

Permalink
jQuery UI is already included from common.inc.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Delisle committed Apr 9, 2012
1 parent f2c88c3 commit dd5aae9
Show file tree
Hide file tree
Showing 18 changed files with 0 additions and 24 deletions.
1 change: 0 additions & 1 deletion db_create.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
*/
require_once 'libraries/common.inc.php';
$GLOBALS['js_include'][] = 'functions.js';
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.16.custom.js';

require_once 'libraries/mysql_charsets.lib.php';
if (!PMA_DRIZZLE) {
Expand Down
1 change: 0 additions & 1 deletion db_events.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
/**
* Include JavaScript libraries
*/
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.16.custom.js';
$GLOBALS['js_include'][] = 'jquery/timepicker.js';
$GLOBALS['js_include'][] = 'rte/common.js';
$GLOBALS['js_include'][] = 'rte/events.js';
Expand Down
2 changes: 0 additions & 2 deletions db_operations.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
require_once 'libraries/mysql_charsets.lib.php';

// add a javascript file for jQuery functions to handle Ajax actions
// also add jQueryUI
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.16.custom.js';
$GLOBALS['js_include'][] = 'db_operations.js';

/**
Expand Down
1 change: 0 additions & 1 deletion db_routines.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
/**
* Include JavaScript libraries
*/
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.16.custom.js';
$GLOBALS['js_include'][] = 'jquery/timepicker.js';
$GLOBALS['js_include'][] = 'rte/common.js';
$GLOBALS['js_include'][] = 'rte/routines.js';
Expand Down
1 change: 0 additions & 1 deletion db_structure.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
*/
require_once 'libraries/common.inc.php';

$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.16.custom.js';
$GLOBALS['js_include'][] = 'db_structure.js';
$GLOBALS['js_include'][] = 'tbl_change.js';
$GLOBALS['js_include'][] = 'jquery/timepicker.js';
Expand Down
1 change: 0 additions & 1 deletion db_tracking.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
require_once 'libraries/common.inc.php';

//Get some js files needed for Ajax requests
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.16.custom.js';
$GLOBALS['js_include'][] = 'db_structure.js';

/**
Expand Down
1 change: 0 additions & 1 deletion db_triggers.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
/**
* Include JavaScript libraries
*/
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.16.custom.js';
$GLOBALS['js_include'][] = 'rte/common.js';
$GLOBALS['js_include'][] = 'rte/triggers.js';
$GLOBALS['js_include'][] = 'codemirror/lib/codemirror.js';
Expand Down
2 changes: 0 additions & 2 deletions main.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
*/
require_once 'libraries/common.inc.php';

$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.16.custom.js';

// Handles some variables that may have been sent by the calling script
$GLOBALS['db'] = '';
$GLOBALS['table'] = '';
Expand Down
1 change: 0 additions & 1 deletion server_plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
/**
* JS includes
*/
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.16.custom.js';
$GLOBALS['js_include'][] = 'jquery/jquery.cookie.js';
$GLOBALS['js_include'][] = 'jquery/jquery.tablesorter.js';
$GLOBALS['js_include'][] = 'server_plugins.js';
Expand Down
1 change: 0 additions & 1 deletion server_privileges.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
$GLOBALS['js_include'][] = 'server_privileges.js';
$GLOBALS['js_include'][] = 'functions.js';
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.16.custom.js';
$GLOBALS['js_include'][] = 'codemirror/lib/codemirror.js';
$GLOBALS['js_include'][] = 'codemirror/mode/mysql/mysql.js';
$_add_user_error = false;
Expand Down
1 change: 0 additions & 1 deletion server_status.php
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,6 @@
*/

$GLOBALS['js_include'][] = 'server_status.js';
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.16.custom.js';
$GLOBALS['js_include'][] = 'jquery/jquery.tablesorter.js';
$GLOBALS['js_include'][] = 'jquery/jquery.cookie.js'; // For tab persistence
// Charting
Expand Down
1 change: 0 additions & 1 deletion sql.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
require_once 'libraries/check_user_privileges.lib.php';
require_once 'libraries/bookmark.lib.php';

$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.16.custom.js';
$GLOBALS['js_include'][] = 'jquery/timepicker.js';
$GLOBALS['js_include'][] = 'tbl_change.js';
// the next one needed because sql.php may do a "goto" to tbl_structure.php
Expand Down
1 change: 0 additions & 1 deletion tbl_change.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@
*/
$GLOBALS['js_include'][] = 'functions.js';
$GLOBALS['js_include'][] = 'tbl_change.js';
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.16.custom.js';
$GLOBALS['js_include'][] = 'jquery/timepicker.js';
$GLOBALS['js_include'][] = 'gis_data_editor.js';

Expand Down
4 changes: 0 additions & 4 deletions tbl_operations.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@
require_once 'libraries/mysql_charsets.lib.php';
require_once 'libraries/StorageEngine.class.php';

// add a javascript file for jQuery functions to handle Ajax actions
// also add jQueryUI
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.16.custom.js';

/**
* Class for partition management
*/
Expand Down
2 changes: 0 additions & 2 deletions tbl_replace.php
Original file line number Diff line number Diff line change
Expand Up @@ -556,8 +556,6 @@
}

$GLOBALS['js_include'][] = 'tbl_change.js';
// in case we call sql.php which needs those:
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.16.custom.js';

$active_page = $goto_include;

Expand Down
1 change: 0 additions & 1 deletion tbl_select.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
$GLOBALS['js_include'][] = 'sql.js';
$GLOBALS['js_include'][] = 'tbl_select.js';
$GLOBALS['js_include'][] = 'tbl_change.js';
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.16.custom.js';
$GLOBALS['js_include'][] = 'jquery/timepicker.js';
$GLOBALS['js_include'][] = 'gis_data_editor.js';

Expand Down
1 change: 0 additions & 1 deletion tbl_structure.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
require_once 'libraries/common.inc.php';
require_once 'libraries/mysql_charsets.lib.php';

$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.16.custom.js';
$GLOBALS['js_include'][] = 'tbl_structure.js';
$GLOBALS['js_include'][] = 'indexes.js';

Expand Down
1 change: 0 additions & 1 deletion tbl_zoom_select.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
/* Files required for chart exporting */
$GLOBALS['js_include'][] = 'highcharts/exporting.js';
$GLOBALS['js_include'][] = 'canvg/canvg.js';
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.16.custom.js';
$GLOBALS['js_include'][] = 'jquery/timepicker.js';

/**
Expand Down

0 comments on commit dd5aae9

Please sign in to comment.