diff --git a/server_privileges.php b/server_privileges.php index d087aeffb..88f2a4570 100755 --- a/server_privileges.php +++ b/server_privileges.php @@ -566,10 +566,10 @@ function PMA_displayPrivTable($db = '*', $table = '*', $submit = TRUE) ? __('Database-specific privileges') : __('Table-specific privileges'))) . "\n" . ' (' + . $GLOBALS['url_query'] . '&checkall=1" onclick="setCheckboxes(\'addUsersForm\', true); return false;">' . __('Check All') . ' /' . "\n" . ' ' + . $GLOBALS['url_query'] . '" onclick="setCheckboxes(\'addUsersForm\', false); return false;">' . __('Uncheck All') . ')' . "\n" . ' ' . "\n" . '

' . __(' Note: MySQL privilege names are expressed in English ') . '

' . "\n" @@ -1032,6 +1032,10 @@ if (isset($_REQUEST['adduser_submit']) || isset($_REQUEST['change_copy'])) { } unset($res, $real_sql_query); } + + if( $GLOBALS['is_ajax_request'] ) { + PMA_ajaxResponse($message, true); + } } @@ -2037,7 +2041,7 @@ if (empty($_REQUEST['adduser']) && (! isset($checkprivs) || ! strlen($checkprivs echo '

' . "\n" . PMA_getIcon('b_usradd.png') . __('Add a new User') . "\n" . '

' . "\n" - . '
' . "\n" + . '' . "\n" . PMA_generate_common_hidden_inputs('', ''); PMA_displayLoginInformationFields('new'); echo '
' . "\n"