rem: if (fieldValue != "") 
add: switch (recipientType) 
context: function Recipients2CompFields(msgCompFields){  if (msgCompFields)  {    var i = 1;    var addrTo = "";    var addrCc = "";    var addrBcc = "";    var addrReply = "";    var addrNg = "";    var addrFollow = "";    var addrOther = "";    var to_Sep = "";    var cc_Sep = "";    var bcc_Sep = "";    var reply_Sep = "";    var ng_Sep = "";    var follow_Sep = "";    var inputField;      while ((inputField = awGetInputElement(i)))      {        var fieldValue = inputField.value;        if (fieldValue == null)          fieldValue = inputField.getAttribute("value");        if (fieldValue != "")        {          switch (awGetPopupElement(i).selectedItem.getAttribute("value"))          {            case "addr_to"      : addrTo += to_Sep + fieldValue; to_Sep = ",";          break;            case "addr_cc"      : addrCc += cc_Sep + fieldValue; cc_Sep = ",";          break;            case "addr_bcc"     : addrBcc += bcc_Sep + fieldValue; bcc_Sep = ",";       break;            case "addr_reply"   : addrReply += reply_Sep + fieldValue; reply_Sep = ",";     break;            case "addr_newsgroups"  : addrNg += ng_Sep + fieldValue; ng_Sep = ",";          break;            case "addr_followup"  : addrFollow += follow_Sep + fieldValue; follow_Sep = ",";    break;          case "addr_other"   : addrOther += sOther_header + ": " + fieldValue + "\n";     break;          }        }        i ++;      }      msgCompFields.to = addrTo;      msgCompFields.cc = addrCc;      msgCompFields.bcc = addrBcc;      msgCompFields.replyTo = addrReply;      msgCompFields.newsgroups = addrNg;      msgCompFields.followupTo = addrFollow;      msgCompFields.otherRandomHeaders = addrOther;  }  else    dump("Message Compose Error: msgCompFields is null (ExtractRecipients)");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c3f7df06bd5bcbe89418d6bf17db2c5d3be114ad/addressingWidgetOverlay.js/clean/mailnews/compose/resources/content/addressingWidgetOverlay.js