rem: for(var i = 0; i < numFolders; i++) { var folder = selectedFolders[i]; var folderUri = folder.getAttribute("id"); var folderResource = RDF.GetResource(folderUri); var msgFolder = folderResource.QueryInterface(Components.interfaces.nsIMsgFolder); if(msgFolder) { folderArray[i] = msgFolder; } } return folderArray; 
add: return folderArray; 
context: function GetSelectedMsgFolders(){	var folderTree = GetFolderTree();	var selectedFolders = folderTree.selectedItems;	var numFolders = selectedFolders.length;	var folderArray = new Array(numFolders);	for(var i = 0; i < numFolders; i++)	{		var folder = selectedFolders[i];		var folderUri = folder.getAttribute("id");		var folderResource = RDF.GetResource(folderUri);		var msgFolder = folderResource.QueryInterface(Components.interfaces.nsIMsgFolder);		if(msgFolder)		{			folderArray[i] = msgFolder;			}	}	return folderArray;}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/1e0e99191d9d4f4f04fb4061b0ba91f347b8986f/msgMail3PaneWindow.js/buggy/mailnews/base/resources/content/msgMail3PaneWindow.js