fixed 'mad' db slector
This commit is contained in:
@@ -40,6 +40,7 @@ $Source$
|
|||||||
* libraries/dbi/mysqli.dbi.lib.php: workaround for http://bugs.php.net/36007
|
* libraries/dbi/mysqli.dbi.lib.php: workaround for http://bugs.php.net/36007
|
||||||
* libraries/database_interface.lib.php PMA_DBI_get_tables_full(), left.php:
|
* libraries/database_interface.lib.php PMA_DBI_get_tables_full(), left.php:
|
||||||
added workaround for bug #1436171 Cannot display Capitalised Databases
|
added workaround for bug #1436171 Cannot display Capitalised Databases
|
||||||
|
* js/querywindow.js: fixed 'mad' db slector
|
||||||
|
|
||||||
2006-02-21 Michal Čihař <michal@cihar.com>
|
2006-02-21 Michal Čihař <michal@cihar.com>
|
||||||
* scripts/setup.php:
|
* scripts/setup.php:
|
||||||
|
@@ -11,14 +11,16 @@ function setDb( new_db ) {
|
|||||||
// db has changed
|
// db has changed
|
||||||
//alert( new_db + '(' + new_db.length + ') : ' + db );
|
//alert( new_db + '(' + new_db.length + ') : ' + db );
|
||||||
|
|
||||||
if ( window.frames[0].document.getElementById(new_db) == null ) {
|
var old_db = db;
|
||||||
|
db = new_db;
|
||||||
|
|
||||||
|
if ( window.frames[0].document.getElementById(db) == null ) {
|
||||||
// db is unknown, reload complete left frame
|
// db is unknown, reload complete left frame
|
||||||
refreshLeft();
|
refreshLeft();
|
||||||
} else {
|
} else {
|
||||||
unmarkDbTable(db);
|
unmarkDbTable(old_db);
|
||||||
markDbTable(new_db);
|
markDbTable(db);
|
||||||
}
|
}
|
||||||
db = new_db;
|
|
||||||
|
|
||||||
// TODO: add code to expand db in lightview mode
|
// TODO: add code to expand db in lightview mode
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user