add: SetTemplateTreeItemOpen(false); 
context: function ChangeThreadView(){   var folder = GetSelectedFolder();	var threadColumn = document.getElementById('ThreadColumnHeader');	if(threadColumn)	{		var currentView = threadColumn.getAttribute('currentView');		if(currentView== 'threaded')		{			ShowThreads(false);			if(folder)				folder.setAttribute('threaded', "");		}		else if(currentView == 'unthreaded')		{			ShowThreads(true);			if(folder)				folder.setAttribute('threaded', "true");		}		RefreshThreadTreeView();	}}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b4631ff06b37d4251475fa4231a3496b892c145f/threadPane.js/clean/mailnews/base/resources/content/threadPane.js