rem: if (treeitem) { isServer = (treeitem.getAttribute('IsServer') == "true"); if (isServer) { var open = treeitem.getAttribute('open'); if (open == "true") { var uri = treeitem.getAttribute("id"); server = GetServer(uri); if (server) {  server.PerformExpand(msgWindow); } } else {  } } } 
add: if (isServer == "true") { if (folderOutliner.outlinerBoxObject.view.isContainerOpen(folderIndex)) msgFolder.clearFlag(MSG_FOLDER_FLAG_ELIDED); else { msgFolder.setFlag(MSG_FOLDER_FLAG_ELIDED); var server = msgFolder.server; server.PerformExpand(msgWindow); } } else {   MsgOpenNewWindowForFolder(folderResource.Value); 
context: function FolderPaneDoubleClick(treeitem){	var isServer = false;	if (treeitem) {		isServer = (treeitem.getAttribute('IsServer') == "true");		if (isServer) {			var open = treeitem.getAttribute('open');			if (open == "true") {				var uri = treeitem.getAttribute("id");				server = GetServer(uri);				if (server) {					// double clicking open, PerformExpand()					server.PerformExpand(msgWindow);				}			}			else {				// double clicking close, don't PerformExpand()			}		}	}	// don't open a new msg window if we are double clicking on a server.	// only do it for folders or newsgroups	if (!isServer) {		MsgOpenNewWindowForFolder(treeitem.getAttribute('id'));	}}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/1e0e99191d9d4f4f04fb4061b0ba91f347b8986f/msgMail3PaneWindow.js/buggy/mailnews/base/resources/content/msgMail3PaneWindow.js