From 7f062310c6a6b0c5c8c91c3ef129206b18e6bd45 Mon Sep 17 00:00:00 2001 From: ninadsp Date: Wed, 30 Jun 2010 00:38:28 +0530 Subject: [PATCH] Fixed the bug where the initials_table division landed up at the bottom of the page after an ajax request completed. Also, fixed the issue due to which the edit users dialog was empty --- server_privileges.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server_privileges.php b/server_privileges.php index c5b77b189..05297dd13 100755 --- a/server_privileges.php +++ b/server_privileges.php @@ -1342,7 +1342,7 @@ if (isset($_REQUEST['flush_privileges'])) { * * @todo How to show the queries? Refactoring PMA_ajaxShowMessage might help */ -if( $GLOBALS['is_ajax_request'] && !isset($_REQUEST['export']) && !isset($_REQUEST['adduser']) && !isset($_REQUEST['initial']) && !isset($_REQUEST['showall'])) { +if( $GLOBALS['is_ajax_request'] && !isset($_REQUEST['export']) && !isset($_REQUEST['adduser']) && !isset($_REQUEST['initial']) && !isset($_REQUEST['showall']) && !isset($_REQUEST['edit_user_dialog'])) { PMA_ajaxResponse($message, $message->isSuccess()); } @@ -1498,7 +1498,7 @@ if (empty($_REQUEST['adduser']) && (! isset($checkprivs) || ! strlen($checkprivs * Displays the initials */ - if( !$GLOBALS['is_ajax_request'] ) { + if( $GLOBALS['is_ajax_request'] != true ) { // initialize to FALSE the letters A-Z for ($letter_counter = 1; $letter_counter < 27; $letter_counter++) {