bug #1601625 [display] The Ignore checkbox is not unchecked for ENUM

This commit is contained in:
Marc Delisle
2009-06-20 12:08:34 +00:00
parent 5f10bfdd81
commit e29115a326
2 changed files with 2 additions and 5 deletions

View File

@@ -21,6 +21,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
- bug #2802870 [display] Incorrect overhead value for InnoDB
- bug [display] Incorrect display in replication status,
thanks to Tomas Srnka - tomassrnka
- bug #1601625 [display] The Ignore checkbox is not unchecked for ENUM
3.2.0.0 (2009-06-15)
- [core] better support for vendor customisation (based on what Debian needs)

View File

@@ -750,11 +750,7 @@ foreach ($rows as $row_id => $vrow) {
echo '<input type="radio" name="field_' . $field_name_appendix_md5 . '"';
echo ' value="' . $enum_value['html'] . '"';
echo ' id="field_' . ($idindex) . '_3_' . $j . '"';
echo ' onclick="';
echo "if (typeof(document.forms['insertForm'].elements['fields_null"
. $field_name_appendix . "']) != 'undefined') {document.forms['insertForm'].elements['fields_null"
. $field_name_appendix . "'].checked = false}";
echo '"';
echo $unnullify_trigger;
if ($data == $enum_value['plain']
|| ($data == ''
&& (! isset($primary_key) || $field['Null'] != 'YES')