From b2fa59876b335facc96464a357f5b234494d8fe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 28 Jan 2011 10:24:34 +0100 Subject: [PATCH] Avoid showing open in new window for AJAX requests. --- libraries/footer.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/footer.inc.php b/libraries/footer.inc.php index f5e6e9872..d43c6a422 100644 --- a/libraries/footer.inc.php +++ b/libraries/footer.inc.php @@ -168,7 +168,7 @@ if (!isset($GLOBALS['checked_special'])) { $GLOBALS['checked_special'] = false; } -if (PMA_getenv('SCRIPT_NAME') && empty($_POST) && !$GLOBALS['checked_special']) { +if (PMA_getenv('SCRIPT_NAME') && empty($_POST) && !$GLOBALS['checked_special'] && ! $GLOBALS['is_ajax_request']) { echo '