set empty table on db change (bug #1375387) (forgot with last commit)
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
var querywindow = '';
|
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 ) {
|
function setDb( new_db ) {
|
||||||
//alert('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 ) {
|
function setTable( new_table ) {
|
||||||
//alert('setTable(' + new_table + ')');
|
//alert('setTable(' + new_table + ')');
|
||||||
|
Reference in New Issue
Block a user