Bug #3187078 Main page ajax results tiny.
This commit is contained in:
@@ -2016,11 +2016,7 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
$.post($(the_form).attr('action'), $(the_form).serialize() + '&change_pw='+ this_value, function(data) {
|
$.post($(the_form).attr('action'), $(the_form).serialize() + '&change_pw='+ this_value, function(data) {
|
||||||
if(data.success == true) {
|
if(data.success == true) {
|
||||||
|
|
||||||
PMA_ajaxShowMessage(data.message);
|
|
||||||
|
|
||||||
$("#topmenucontainer").after(data.sql_query);
|
$("#topmenucontainer").after(data.sql_query);
|
||||||
|
|
||||||
$("#change_password_dialog").hide().remove();
|
$("#change_password_dialog").hide().remove();
|
||||||
$("#edit_user_dialog").dialog("close").remove();
|
$("#edit_user_dialog").dialog("close").remove();
|
||||||
}
|
}
|
||||||
|
@@ -110,7 +110,7 @@ if (isset($_REQUEST['nopass'])) {
|
|||||||
$message = PMA_Message::success(__('The profile has been updated.'));
|
$message = PMA_Message::success(__('The profile has been updated.'));
|
||||||
|
|
||||||
if($GLOBALS['is_ajax_request'] == true) {
|
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);
|
PMA_ajaxResponse($message, true, $extra_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user