Return the new name of the database in a rename, or the name of the

copied database, so that we can switch to the database if the user wants
to.
This commit is contained in:
ninadsp
2010-06-23 10:50:54 +05:30
parent 9737dbc675
commit c3d2d0fed4

View File

@@ -266,7 +266,8 @@ if (strlen($db) && (! empty($db_rename) || ! empty($db_copy))) {
} }
if( $GLOBALS['is_ajax_request'] == true) { if( $GLOBALS['is_ajax_request'] == true) {
PMA_ajaxResponse($message, $message->isSuccess()); $extra_data['newname'] = $newname;
PMA_ajaxResponse($message, $message->isSuccess(), $extra_data);
}; };
} }