rem: var elts     = rowForm.elements['field_' + md5Field + '[]']; 
add: var elts     = rowForm.elements['field_' + md5Field + multi_edit + '[]']; 
context: function nullify(theType, urlField, md5Field){    var rowForm = document.forms['insertForm'];    if (typeof(rowForm.elements['funcs[' + urlField + ']']) != 'undefined') {        rowForm.elements['funcs[' + urlField + ']'].selectedIndex = -1;    }    // "SET" field , "ENUM" field with more than 20 characters    // or foreign key field    if (theType == 1 || theType == 3 || theType == 4) {        rowForm.elements['field_' + md5Field + '[]'].selectedIndex = -1;    }    // Other "ENUM" field    else if (theType == 2) {        var elts     = rowForm.elements['field_' + md5Field + '[]'];        // when there is just one option in ENUM:        if (elts.checked) {            elts.checked = false;        } else {            var elts_cnt = elts.length;            for (var i = 0; i < elts_cnt; i++ ) {                elts[i].checked = false;            } // end for        } // end if    }    // Other field types    else /*if (theType == 5)*/ {        rowForm.elements['fields[' + urlField + ']'].value = '';    } // end if... else if... else    return true;} // end of the 'nullify()' function
meta: 8858	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8858/5e7ea208d4de00ee76d681fe6277a31e3a0b9412/tbl_change.js/buggy/libraries/tbl_change.js