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('', '', '&'); +?> + +