Merge branch 'master' of ssh://phpmyadmin.git.sourceforge.net/gitroot/phpmyadmin/phpmyadmin

This commit is contained in:
Madhura Jayaratne
2011-02-03 00:57:10 +05:30
5 changed files with 22 additions and 7 deletions

View File

@@ -51,6 +51,7 @@ $(document).ready(function() {
* (see $GLOBALS['cfg']['AjaxEnable'])
*
* @uses PMA_ajaxShowMessage()
* @see $GLOBALS['cfg']['AjaxEnable']
*/
$("#db_search_form.ajax").live('submit', function(event) {
event.preventDefault();

View File

@@ -1907,6 +1907,7 @@ $(document).ready(function() {
* @uses PMA_ajaxShowMessage()
* @uses window.parent.refreshNavigation()
* @uses window.parent.refreshMain()
* @see $cfg['AjaxEnable']
*/
$(document).ready(function() {
$("#drop_db_anchor").live('click', function(event) {
@@ -1935,10 +1936,11 @@ $(document).ready(function() {
* display_create_database.lib.php is used, ie main.php and server_databases.php
*
* @uses PMA_ajaxShowMessage()
* @see $cfg['AjaxEnable']
*/
$(document).ready(function() {
$('#create_database_form').live('submit', function(event) {
$('#create_database_form.ajax').live('submit', function(event) {
event.preventDefault();
$form = $(this);
@@ -1984,8 +1986,9 @@ $(document).ready(function() {
/**
* Attach Ajax event handler on the change password anchor
* @see $cfg['AjaxEnable']
*/
$('#change_password_anchor').live('click', function(event) {
$('#change_password_anchor.ajax').live('click', function(event) {
event.preventDefault();
/**
@@ -2011,8 +2014,9 @@ $(document).ready(function() {
* Attach Ajax event handler for Change Password form submission
*
* @uses PMA_ajaxShowMessage()
* @see $cfg['AjaxEnable']
*/
$("#change_password_form").find('input[name=change_pw]').live('click', function(event) {
$("#change_password_form.ajax").find('input[name=change_pw]').live('click', function(event) {
event.preventDefault();
/**