rem: destResource = RDF.GetResource(destUri); destMsgFolder = destResource.QueryInterface(Components.interfaces.nsIMsgFolder);  var srcFolder = GetLoadedMsgFolder(); if(srcFolder) { var compositeDataSource = GetCompositeDataSource("Move"); var messages = GetSelectedMessages(); 
add: destResource = RDF.GetResource(destUri); destMsgFolder = destResource.QueryInterface(Components.interfaces.nsIMsgFolder);  var srcFolder = GetLoadedMsgFolder(); if(srcFolder) { var compositeDataSource = GetCompositeDataSource("Move"); var messages = GetSelectedMessages(); 
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 (srcUri.substring(0,6) == "news:/")		{			CopyMessages(compositeDataSource, srcFolder, destMsgFolder, messages, false);		}		else		{			SetNextMessageAfterDelete(null, true);			CopyMessages(compositeDataSource, srcFolder, destMsgFolder, messages, true);		}	}	}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/98f8dba7b96019d33eaa1162fb11dc98138a445f/mailWindowOverlay.js/buggy/mailnews/base/resources/content/mailWindowOverlay.js