fixed a js bug with empty databases
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2001-12-08 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
|
* libraries/left.js, lines 234-240: fixed a js bug with empty databases.
|
||||||
|
|
||||||
2001-12-07 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
2001-12-07 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
* lang/polish.inc.php3: fixed typos thanks to Tomasz Regdos & Jakub Wilk.
|
* lang/polish.inc.php3: fixed typos thanks to Tomasz Regdos & Jakub Wilk.
|
||||||
* tbl_indexes; tbl_printview.php3; tbl_properties.php3;
|
* tbl_indexes; tbl_printview.php3; tbl_properties.php3;
|
||||||
|
@@ -231,10 +231,13 @@ function hilightBase(el, theColor)
|
|||||||
if (typeof(whichDb.style) == 'undefined') {
|
if (typeof(whichDb.style) == 'undefined') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else {
|
else if (whichTables) {
|
||||||
whichDb.style.backgroundColor = theColor;
|
whichDb.style.backgroundColor = theColor;
|
||||||
whichTables.style.backgroundColor = theColor;
|
whichTables.style.backgroundColor = theColor;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
whichDb.style.backgroundColor = theColor;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
} // end of the 'hilightBase()' function
|
} // end of the 'hilightBase()' function
|
||||||
|
Reference in New Issue
Block a user