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:
@@ -266,7 +266,8 @@ if (strlen($db) && (! empty($db_rename) || ! empty($db_copy))) {
|
||||
}
|
||||
|
||||
if( $GLOBALS['is_ajax_request'] == true) {
|
||||
PMA_ajaxResponse($message, $message->isSuccess());
|
||||
$extra_data['newname'] = $newname;
|
||||
PMA_ajaxResponse($message, $message->isSuccess(), $extra_data);
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user