Bug #3187078 Main page ajax results tiny.

This commit is contained in:
Madhura Jayaratne
2011-02-20 08:59:07 +05:30
parent bcc3ed17a2
commit 192d0edae6
2 changed files with 1 additions and 5 deletions

View File

@@ -2016,11 +2016,7 @@ $(document).ready(function() {
$.post($(the_form).attr('action'), $(the_form).serialize() + '&change_pw='+ this_value, function(data) {
if(data.success == true) {
PMA_ajaxShowMessage(data.message);
$("#topmenucontainer").after(data.sql_query);
$("#change_password_dialog").hide().remove();
$("#edit_user_dialog").dialog("close").remove();
}

View File

@@ -110,7 +110,7 @@ if (isset($_REQUEST['nopass'])) {
$message = PMA_Message::success(__('The profile has been updated.'));
if($GLOBALS['is_ajax_request'] == true) {
$extra_data['sql_query'] = PMA_showMessage(NULL, $sql_query, 'success');
$extra_data['sql_query'] = PMA_showMessage($message, $sql_query, 'success');
PMA_ajaxResponse($message, true, $extra_data);
}