From bd2826fb125561d9828dedc79844667300453bbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 6 Jun 2003 10:30:45 +0000 Subject: [PATCH] Don't add target if not in query window. --- ChangeLog | 1 + tbl_query_box.php3 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8de1e3937..048631965 100755 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,7 @@ $Source$ * mult_submits.inc.php3: Missing ;. * libraries/relation_cleanup.lib.php3, mult_submits.inc.php3, sql.php3: Cleanup phpMyAdmin tables also after multi submit actions (RFE #749989). + * tbl_query_box.php3: Don't add target if not in query window. 2003-06-05 Marc Delisle * Documentation.html: new faq 6.20 about CREATE TEMPORARY TABLES diff --git a/tbl_query_box.php3 b/tbl_query_box.php3 index 9e2beb0cd..358014c36 100755 --- a/tbl_query_box.php3 +++ b/tbl_query_box.php3 @@ -86,7 +86,7 @@ if ($cfg['QueryFrame'] && (!$cfg['QueryFrameJS'] && !$db || ($cfg['QueryFrameJS' $queryframe_db_list = ''; } -if ($cfg['QueryFrame'] && $cfg['QueryFrameJS']) { +if ($cfg['QueryFrame'] && $cfg['QueryFrameJS'] && isset($is_inside_querywindow) && $is_inside_querywindow) { ?>