diff --git a/footer.inc.php b/footer.inc.php index b0930076b..1ce21ad49 100644 --- a/footer.inc.php +++ b/footer.inc.php @@ -9,10 +9,17 @@ require_once('./libraries/relation.lib.php'); // for PMA_setHistory() -?> +/** + * Query window + */ + +// If query window is wanted and open, update with latest selected db/table. +if ($cfg['QueryFrame'] && $cfg['QueryFrameJS']) { + + ?>