From 432141ecca76576c8e7c8ab10b9022433b86e47d Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Wed, 7 Dec 2005 20:20:33 +0000 Subject: [PATCH] set empty table on db change (bug #1375387) (forgot with last commit) --- js/querywindow.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/js/querywindow.js b/js/querywindow.js index 7f7856410..5c327fe2d 100644 --- a/js/querywindow.js +++ b/js/querywindow.js @@ -1,7 +1,9 @@ var querywindow = ''; /** - * sets current selected server, table and db (called from libraries/footer.inc.php) + * sets current selected db + * + * @param string db name */ function setDb( new_db ) { //alert('setDb(' + new_db + ')'); @@ -24,7 +26,9 @@ function setDb( new_db ) { } /** - * sets current selected server, table and db (called from libraries/footer.inc.php) + * sets current selected table (called from left.php) + * + * @param string table name */ function setTable( new_table ) { //alert('setTable(' + new_table + ')');