rem: } else formElement.value = formElement.defaultValue; 
add: } else { if (formElement.defaultValue) formElement.value = formElement.defaultValue; 
context: function setFormElementValue(formElement, value) {    //formElement.value = formElement.defaultValue;  //  formElement.checked = formElement.defaultChecked;  var type = formElement.tagName;  if (type == "checkbox") {    if (value == undefined) {      formElement.checked = formElement.defaultChecked;    } else {      if (formElement.getAttribute("reversed"))        formElement.checked = !value;      else        formElement.checked = value;    }       }  else if (type == "radiogroup" || type =="menulist") {        var selectedItem;    if (value == undefined) {      if (type == "radiogroup")        selectedItem = formElement.firstChild;      else        selectedItem = formElement.firstChild.firstChild;    }    else      selectedItem = formElement.getElementsByAttribute("data", value)[0];        formElement.selectedItem = selectedItem;  }  // handle nsIFileSpec  else if (type == "textfield" &&           formElement.getAttribute("datatype") == "nsIFileSpec") {    if (value) {      var filespec = value.QueryInterface(Components.interfaces.nsIFileSpec);      try {        formElement.value = filespec.nativePath;      } catch (ex) {        dump("Still need to fix uninitialized filespec problem!\n");      }    } else      formElement.value = formElement.defaultValue;  }  // let the form figure out what to do with it  else {    if (value == undefined)      formElement.value = formElement.defaultValue;    else      formElement.value = value;  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/726a508c11d5aced710f90296c0bb9c561df7f0f/AccountManager.js/buggy/mailnews/base/prefs/resources/content/AccountManager.js