rem: if (newplace > 0 && window.document.forms[0].eperson_id.options[0].text == "") 
add: if (newplace > 0 && window.document.forms[0].eperson_id.options[0].value == "") 
context: function addEPerson(id, email, name){    var newplace = window.document.forms[0].eperson_id.options.length;    if (newplace > 0 && window.document.forms[0].eperson_id.options[0].text == "")    {        newplace = 0;    }    // First we check to see if e-person is already there    for (var i = 0; i < window.document.forms[0].eperson_id.options.length; i++)    {        if (window.document.forms[0].eperson_id.options[i].value == id)        {            newplace = -1;        }    }    if (newplace > -1)    {        window.document.forms[0].eperson_id.options[newplace] = new Option(name + " (" + email + ")", id);    }}
meta: 1124	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1124/edb9e4bb77e2c137353ec9cbd78be22ac41fdca8/utils.js/clean/dspace/jsp/utils.js