bug #1193353, js error on creating table

This commit is contained in:
Marc Delisle
2005-05-01 13:37:46 +00:00
parent 5a94e9b78b
commit f0348780fa
2 changed files with 6 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ $Source$
2005-05-01 Marc Delisle <lem9@users.sourceforge.net>
* server_status.php: bug #1193225, missing </ul>
* tbl_properties.inc.php: bug #1193353, js error on creating table
2005-04-30 Marc Delisle <lem9@users.sourceforge.net>
* db_operations.php, libraries/tbl_move_copy.php:

View File

@@ -233,7 +233,11 @@ for ($i = 0 ; $i < $num_fields; $i++) {
$content_cells[$i][$ci] .= "\n" . '<input id="field_' . $i . '_' . ($ci - $ci_offset) . '" type="text" name="field_name[]" size="10" maxlength="64" value="' . (isset($row) && isset($row['Field']) ? str_replace('"', '&quot;', $row['Field']) : '') . '" class="textfield" title="' . $strField . '" />';
$ci++;
$content_cells[$i][$ci] = '<select name="field_type[]" id="field_' . $i . '_' . ($ci - $ci_offset) . '" onchange="display_field_options(this.value,' . $i .')" >' . "\n";
$content_cells[$i][$ci] = '<select name="field_type[]" id="field_' . $i . '_' . ($ci - $ci_offset) . '" ';
if (PMA_MYSQL_INT_VERSION >= 40102) {
$content_cells[$i][$ci] .= 'onchange="display_field_options(this.value,' . $i .')" ';
}
$content_cells[$i][$ci] .= '>' . "\n";
if (empty($row['Type'])) {
$row['Type'] = '';