rem: destUri = destFolder.getAttribute('id'); destResource = RDF.GetResource(destUri); destMsgFolder = destResource.QueryInterface(Components.interfaces.nsIMsgFolder); 
add: var destUri = destFolder.getAttribute('id'); var destResource = RDF.GetResource(destUri); var destMsgFolder = destResource.QueryInterface(Components.interfaces.nsIMsgFolder); 
context: function MsgCopyMessage(destFolder){  try {    // get the msg folder we're copying messages into    destUri = destFolder.getAttribute('id');    destResource = RDF.GetResource(destUri);    destMsgFolder = destResource.QueryInterface(Components.interfaces.nsIMsgFolder);    gDBView.doCommandWithFolder(nsMsgViewCommandType.copyMessages, destMsgFolder);  }  catch (ex) {    dump("MsgCopyMessage failed: " + ex + "\n");  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/39f4c3e2e14884a03443c59750e427230e3fc0db/mailWindowOverlay.js/clean/mailnews/base/resources/content/mailWindowOverlay.js