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 MsgMoveMessage(destFolder){    // Get the id for the folder we're copying into    destUri = destFolder.getAttribute('id');    destResource = RDF.GetResource(destUri);    destMsgFolder = destResource.QueryInterface(Components.interfaces.nsIMsgFolder);        var srcFolder = GetLoadedMsgFolder();    if(srcFolder)    {        var compositeDataSource = GetCompositeDataSource("Move");        var messages = GetSelectedMessages();        var srcResource = srcFolder.QueryInterface(Components.interfaces.nsIRDFResource);        var srcUri = srcResource.Value;        if (isNewsURI(srcUri))        {            CopyMessages(compositeDataSource, srcFolder, destMsgFolder, messages, false);        }        else        {            SetNextMessageAfterDelete();            CopyMessages(compositeDataSource, srcFolder, destMsgFolder, messages, true);        }    }    }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/ff95dba345478fb840527c155ce5a7d8b96ed9f2/mailWindowOverlay.js/buggy/mailnews/base/resources/content/mailWindowOverlay.js