bug #1193353, js error on creating table
This commit is contained in:
@@ -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:
|
||||
|
@@ -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('"', '"', $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'] = '';
|
||||
|
Reference in New Issue
Block a user