rem: setTimeout("awFinishCopyNodes();", 0); 
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);    setTimeout("awFinishCopyNodes();", 0);    gMimeHeaderParser = null; //Release the mime parser  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/2c76da39cacb89ee924b8999d0e4d537fa883cc8/addressingWidgetOverlay.js/clean/mailnews/compose/resources/content/addressingWidgetOverlay.js