rem: if ((folderUri == gCurrentFolderUri) && gCurrentMessageIsDeleted) 
add: if ((folderResource.Value == gCurrentFolderUri) && gCurrentMessageIsDeleted) 
context: function HandleDeleteOrMoveMsgFailed(folder){  var folderResource = folder.QueryInterface(Components.interfaces.nsIRDFResource);  if (!folderResource)     return;  var folderUri = folderResource.Value;  gDBView.onDeleteCompleted(false);  if ((folderUri == gCurrentFolderUri) && gCurrentMessageIsDeleted)    gCurrentMessageIsDeleted = false;}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/6bdc4c2e20558de07096617e6360bd765520ccd6/messageWindow.js/buggy/mailnews/base/resources/content/messageWindow.js