rem: folderSummaryInfoEl.parseFolder(folder); 
add: { var asyncFetch = {}; folderSummaryInfoEl.parseFolder(folder, new urlListener(folder), asyncFetch); if (asyncFetch.value) gPendingPreviewFetchRequests++; } 
context: function prefillAlertInfo(){  // unwrap all the args....  // arguments[0] --> array of folders with new mail  // arguments[1] --> the observer to call back with notifications about the alert   gAlertListener = window.arguments[1];  // walk the array of folders with new mail.  var foldersWithNewMail = window.arguments[0];  // for now just grab the first folder which should be a root folder  // for the account that has new mail.   var rootFolder = foldersWithNewMail.GetElementAt(0).QueryInterface(Components.interfaces.nsIWeakReference).QueryReferent(Components.interfaces.nsIMsgFolder);  // generate an account label string based on the root folder  var label = document.getElementById('alertTitle');  var totalNumNewMessages = rootFolder.getNumNewMessages(true);  label.value = document.getElementById('bundle_messenger').getFormattedString(totalNumNewMessages == 1 ? "newBiffNotification_message" : "newBiffNotification_messages",                                                                                      [rootFolder.prettiestName, totalNumNewMessages]);  // this is really the root folder and we have to walk through the list to find the real folder that has new mail in it...:(  var allFolders = Components.classes["@mozilla.org/supports-array;1"].createInstance(Components.interfaces.nsISupportsArray);  rootFolder.ListDescendents(allFolders);  var numFolders = allFolders.Count();  var folderSummaryInfoEl = document.getElementById('folderSummaryInfo');  for (var folderIndex = 0; folderIndex < numFolders; folderIndex++)  {    var folder = allFolders.GetElementAt(folderIndex).QueryInterface(Components.interfaces.nsIMsgFolder);    if (folder.hasNewMessages)      folderSummaryInfoEl.parseFolder(folder);  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b2e49e5c66f10815d5a6660bef9d7c28f470ca7e/newmailalert.js/clean/mail/base/content/newmailalert.js