fixed bug #535984 - JS Error in tbl_change.php3

This commit is contained in:
Loïc Chapeaux
2002-03-29 11:11:08 +00:00
parent c98aee8d85
commit 32129798a3
2 changed files with 6 additions and 5 deletions

View File

@@ -10,8 +10,9 @@ $Source$
("server" is always the first one).
* tbl_properties.php3, lines 1212-1249: fixed bad dislays with Opera and
removed trailing whitespaces.
* Documentaion.html: removed trailing whitespaces.
* Documentation.html: removed trailing whitespaces.
* libraries/display_tbl.lib.php3: very very light optimizations.
* tbl_change.php3: fixed bug #535984 - JS Error in tbl_change.php3.
2002-03-28 Marc Delisle <lem9@users.sourceforge.net>
* sql.php3, bug #535648: bookmarks can't be saved on the second server.

View File

@@ -253,9 +253,8 @@ for ($i = 0; $i < $fields_cnt; $i++) {
// stored or retrieved" so it does not mean that the contents is
// binary
if ($cfgShowFunctionFields) {
if ((($cfgProtectBinary && $is_blob)
|| ($cfgProtectBinary == 'all' && $is_binary))
&& !empty($data)) {
if (($cfgProtectBinary && $is_blob)
|| ($cfgProtectBinary == 'all' && $is_binary)) {
echo ' <td align="center" bgcolor="'. $bgcolor . '">' . $strBinary . '</td>' . "\n";
} else if (strstr($row_table_def['True_Type'], 'enum') || strstr($row_table_def['True_Type'], 'set')) {
echo ' <td align="center" bgcolor="'. $bgcolor . '">--</td>' . "\n";
@@ -288,7 +287,8 @@ for ($i = 0; $i < $fields_cnt; $i++) {
// The null column
// ---------------
echo ' <td bgcolor="' . $bgcolor . '">' . "\n";
if ($row_table_def['Null'] == 'YES') {
if (!(($cfgProtectBinary && $is_blob) || ($cfgProtectBinary == 'all' && $is_binary))
&& $row_table_def['Null'] == 'YES') {
echo ' <input type="checkbox" tabindex=' . ($i+3*$fields_cnt) . '"'
. ' name="fields_null[' . urlencode($field) . ']"';
if ($data == 'NULL' && !$first_timestamp) {