bug #1257106, display problem in the left frame (IE)

This commit is contained in:
Marc Delisle
2005-08-12 13:14:06 +00:00
parent fc50139668
commit 072da7a52c
2 changed files with 5 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ $Source$
2005-08-12 Marc Delisle <lem9@users.sourceforge.net>
* header.inc.php: remove the 'InnoDB free' segment from table comments
* footer.inc.php: bug #1257106, display problem in the left frame (IE)
2005-08-11 Marc Delisle <lem9@users.sourceforge.net>
* queryframe.php: shorten the path of db subtree items,

View File

@@ -24,10 +24,12 @@ if ($cfg['QueryFrame'] && $cfg['QueryFrameJS']) {
$tables = PMA_DBI_try_query('SHOW TABLES FROM ' . PMA_backquote($db) . ';', NULL, PMA_DBI_QUERY_STORE);
$num_tables = ($tables) ? @PMA_DBI_num_rows($tables) : 0;
$common_url_query = PMA_generate_common_url($db);
// if we put a space before the left bracket, it causes a display
// problem in IE
if ($num_tables) {
$num_tables_disp = ' (' . $num_tables . ')';
$num_tables_disp = '(' . $num_tables . ')';
} else {
$num_tables_disp = ' (-)';
$num_tables_disp = '(-)';
}
?>
var forceQueryFrameReload = false;