From e9ffc7c5d5751cf20006dd77cfceec2640733316 Mon Sep 17 00:00:00 2001 From: ninadsp Date: Mon, 21 Jun 2010 01:51:44 +0530 Subject: [PATCH] Added id's for copy database and change database charset forms. Hooked in the PMA_ajaxResponse function for change/copying a database --- db_operations.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/db_operations.php b/db_operations.php index 95c626f7a..bc0ca3e71 100755 --- a/db_operations.php +++ b/db_operations.php @@ -264,6 +264,10 @@ if (strlen($db) && (! empty($db_rename) || ! empty($db_copy))) { $message = PMA_Message::error(); } } + + if( $GLOBALS['is_ajax_request'] == true) { + PMA_ajaxResponse($message, $message->isSuccess()); + }; } /* @@ -440,7 +444,7 @@ if (!$is_information_schema) { * Copy database */ ?> -
' . "\n" + echo '' . "\n" . PMA_generate_common_hidden_inputs($db, $table) . '
' . "\n" . ' ';