rem:  var resultsTree = document.getElementById('resultsTree'); if ( resultsTree ) resultsTree.clearItemSelection();   var tree = document.getElementById('dirTree'); if ( tree && tree.selectedItems && (tree.selectedItems.length == 1) ) ChangeDirectoryByDOMNode(tree.selectedItems[0]); 
add: var dirTree = document.getElementById('dirTree'); if ( dirTree && dirTree.selectedItems && (dirTree.selectedItems.length == 1) ) { ChangeDirectoryByDOMNode(dirTree.selectedItems[0]); } 
context: function DirPaneSelectionChange(){	// FIX ME - deselect the items in the results pane to work around tree bug	var resultsTree = document.getElementById('resultsTree');	if ( resultsTree )		resultsTree.clearItemSelection();	// ----		var tree = document.getElementById('dirTree');	if ( tree && tree.selectedItems && (tree.selectedItems.length == 1) )		ChangeDirectoryByDOMNode(tree.selectedItems[0]);	else		{		var tree = document.getElementById('resultsTree');		if ( tree )			tree.setAttribute('ref', null);	}}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/078a98078ccc758e47b15879cf498e8a67b60215/abCommon.js/clean/mailnews/addrbook/resources/content/abCommon.js