jquery in subdirectory of js; trying jquery-ui toggle effect
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
require_once './libraries/common.inc.php';
|
||||
require_once './libraries/Table.class.php';
|
||||
|
||||
$GLOBALS['js_include'][] = 'jquery.js';
|
||||
$GLOBALS['js_include'][] = 'jquery/jquery-1.4.2-min.js';
|
||||
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.custom.min.js';
|
||||
|
||||
/**
|
||||
* Prepares the tables list if the user where not redirected to this script
|
||||
|
42
js/jquery/jquery-ui-1.8.custom.min.js
vendored
Normal file
42
js/jquery/jquery-ui-1.8.custom.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -2467,7 +2467,9 @@ function PMA_generate_slider_effect($id, $message)
|
||||
$('<a href="#" id="anchor_<?php echo $id; ?>"><?php echo htmlspecialchars($message); ?></a>')
|
||||
.insertBefore('#<?php echo $id; ?>')
|
||||
.click(function() {
|
||||
$('#<?php echo $id; ?>').slideToggle('normal', function() {
|
||||
// the callback should be the 4th parameter but
|
||||
// it only works as the second parameter
|
||||
$('#<?php echo $id; ?>').toggle('drop', function() {
|
||||
PMA_set_status_label_<?php echo $id; ?>();
|
||||
});
|
||||
});
|
||||
|
3
sql.php
3
sql.php
@@ -15,7 +15,8 @@ require_once './libraries/Table.class.php';
|
||||
require_once './libraries/check_user_privileges.lib.php';
|
||||
require_once './libraries/bookmark.lib.php';
|
||||
|
||||
$GLOBALS['js_include'][] = 'jquery.js';
|
||||
$GLOBALS['js_include'][] = 'jquery/jquery-1.4.2-min.js';
|
||||
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.custom.min.js';
|
||||
|
||||
/**
|
||||
* Defines the url to return to in case of error in a sql statement
|
||||
|
@@ -19,7 +19,8 @@ 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.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) {
|
||||
$titles['Browse'] =
|
||||
|
@@ -14,7 +14,8 @@ require_once './libraries/common.inc.php';
|
||||
require_once './libraries/mysql_charsets.lib.php';
|
||||
require_once './libraries/relation.lib.php';
|
||||
|
||||
$GLOBALS['js_include'][] = 'jquery.js';
|
||||
$GLOBALS['js_include'][] = 'jquery/jquery-1.4.2-min.js';
|
||||
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.custom.min.js';
|
||||
|
||||
/**
|
||||
* handle multiple field commands if required
|
||||
|
Reference in New Issue
Block a user