add: else if (eventType == "FolderLoaded") { if (folder) { var resource = folder.QueryInterface(Components.interfaces.nsIRDFResource); if (resource) { var uri = resource.Value; if (uri == gCurrentFolderToRerootForStandAlone) { gCurrentFolderToRerootForStandAlone = null; var msgFolder = folder.QueryInterface(Components.interfaces.nsIMsgFolder); if (msgFolder) { msgFolder.endFolderLoading(); if (gRerootOnFolderLoadForStandAlone) { RerootFolderForStandAlone(uri); } } } } } 
context:   OnItemEvent: function(folder, event) {    if (event.GetUnicode() == "DeleteOrMoveMsgCompleted") {      HandleDeleteOrMoveMsgCompleted(folder);    }         else if (event.GetUnicode() == "DeleteOrMoveMsgFailed") {      HandleDeleteOrMoveMsgFailed(folder);    }  }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/3ead8e230bcd0f7a2698ae71d076d3073a8cc53b/messageWindow.js/clean/mailnews/base/resources/content/messageWindow.js