From dbd97eca1363f7f7fc4bb2d2ebde0f2c54b01c5e Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 5 Aug 2004 17:21:28 +0000 Subject: [PATCH] bug 998698 db dropdown refresh --- ChangeLog | 1 + left.php | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/ChangeLog b/ChangeLog index 20363982c..846287ab4 100755 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,7 @@ $Source$ (Patches from Michael Keck) * index.php: names and ids for framesets in the noscript section * updated themes screenshots + * left.php: bug 998698, db dropdown refresh (me) * lang/galician: Updated, thanks to Xosé Calvo. * lang/swedish: Updated, thanks to Björn T. Hallberg (bth). diff --git a/left.php b/left.php index 7c48b675b..2bc950f76 100644 --- a/left.php +++ b/left.php @@ -891,6 +891,31 @@ else { echo '

' . $strNoDatabases . '

'; } // end if ($num_dbs == 0) echo "\n"; + +// 2004-08-05 added by Michael Keck +// reload queryframe if it exists and we delete a database +// or select a database from the db_list. +$my_lightm_db = ''; +if (isset($lightm_db) && $lightm_db!='') { + $my_lightm_db = $lightm_db; +} + +if ($cfg['LeftFrameLight'] && $cfg['QueryFrame'] && $cfg['QueryFrameJS']) { + if (!isset($table_array) || count($table_array)==0) { + $my_url_query = PMA_generate_common_url('', '', '&'); +?> + +