Added ids to some HTML elements on tbl_change.php and modified the

output of tbl_replace.php for Ajax requests.
This commit is contained in:
ninadsp
2010-07-10 17:07:37 +05:30
parent 8358b8c8d3
commit 7d11c0aa92
2 changed files with 10 additions and 4 deletions

View File

@@ -421,6 +421,11 @@ if (! empty($error_messages)) {
}
unset($error_messages, $warning_messages, $total_affected_rows, $last_messages, $last_message);
if($GLOBALS['is_ajax_request'] == true) {
$extra_data['sql_query'] = PMA_showMessage(NULL, $GLOBALS['display_query']);
PMA_ajaxResponse($message, $message->isSuccess(), $extra_data);
}
if (isset($return_to_sql_query)) {
$disp_query = $GLOBALS['sql_query'];
$disp_message = $message;