rem: function CompFields2Recipients(msgCompFields, msgType) 
add: function CompFields2Recipients(msgCompFields) 
context: function CompFields2Recipients(msgCompFields, msgType){  if (msgCompFields) {    gMimeHeaderParser = Components.classes["@mozilla.org/messenger/headerparser;1"].getService(Components.interfaces.nsIMsgHeaderParser);    var listbox = document.getElementById('addressingWidget');    var newListBoxNode = listbox.cloneNode(false);    var listBoxColsClone = listbox.firstChild.cloneNode(true);    newListBoxNode.appendChild(listBoxColsClone);    var templateNode = listbox.getElementsByTagName("listitem")[0];        top.MAX_RECIPIENTS = 0;    var msgReplyTo = msgCompFields.replyTo;    var msgTo = msgCompFields.to;    var msgCC = msgCompFields.cc;    var msgBCC = msgCompFields.bcc;    var msgRandomHeaders = msgCompFields.otherRandomHeaders;    var msgNewsgroups = msgCompFields.newsgroups;    var msgFollowupTo = msgCompFields.followupTo;    if(msgReplyTo)      awSetInputAndPopupFromArray(msgCompFields.SplitRecipients(msgReplyTo, false),                                   "addr_reply", newListBoxNode, templateNode);    if(msgTo)      awSetInputAndPopupFromArray(msgCompFields.SplitRecipients(msgTo, false),                                   "addr_to", newListBoxNode, templateNode);    if(msgCC)      awSetInputAndPopupFromArray(msgCompFields.SplitRecipients(msgCC, false),                                  "addr_cc", newListBoxNode, templateNode);    if(msgBCC)      awSetInputAndPopupFromArray(msgCompFields.SplitRecipients(msgBCC, false),                                  "addr_bcc", newListBoxNode, templateNode);    if(msgRandomHeaders)      awSetInputAndPopup(msgRandomHeaders, "addr_other", newListBoxNode, templateNode);    if(msgNewsgroups)      awSetInputAndPopup(msgNewsgroups, "addr_newsgroups", newListBoxNode, templateNode);    if(msgFollowupTo)      awSetInputAndPopup(msgFollowupTo, "addr_followup", newListBoxNode, templateNode);    //If it's a new message, we need to add an extrat empty recipient.    if (!msgTo && !msgNewsgroups)      _awSetInputAndPopup("", "addr_to", newListBoxNode, templateNode);    // dump("replacing child in comp fields 2 recips \n");    var parent = listbox.parentNode;    parent.replaceChild(newListBoxNode, listbox);    awFitDummyRows(2);    // CompFields2Recipients is called whenever a user replies or edits an existing message.    // We want to add all of the recipients for this message to the ignore list for spell check     addRecipientsToIgnoreList((gCurrentIdentity ? gCurrentIdentity.identityName + ', ' : '') + msgTo + ', ' + msgCC + ', ' + msgBCC);    gMimeHeaderParser = null; //Release the mime parser  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/cb89d441f9ea64a9930c6474aa4246f81534eaa6/addressingWidgetOverlay.js/clean/mailnews/compose/resources/content/addressingWidgetOverlay.js