rem: if ( dirTree && resultsTree ) { var ref = resultsTree.getAttribute('ref'); var folder = document.getElementById(ref); if ( folder ) { var column = folder.getAttribute('sortColumn'); var key = folder.getAttribute('sortKey'); var direction = folder.getAttribute('sortDirection');  if ( !column || !key ) { column = "NameColumn"; key = 'http: } if ( !direction ) direction = 'ascending';  UpdateSortIndicator(column,direction);  DoSort(column, key, direction); } } 
add: if (dirTree && resultsTree) { var ref = resultsTree.getAttribute("ref"); var folder = document.getElementById(ref); if (folder) { var column = folder.getAttribute("sortColumn"); var key = folder.getAttribute("sortKey"); var direction = folder.getAttribute("sortDirection");  if (!column || !key) { column = "NameColumn"; key = "http: } if (!direction) direction = "ascending";  UpdateSortIndicator(column,direction);  DoSort(column, key, direction); } } 
context: function SortToPreviousSettings(){	if ( dirTree && resultsTree )	{		var ref = resultsTree.getAttribute('ref');		var folder = document.getElementById(ref);		if ( folder )		{			var column = folder.getAttribute('sortColumn');				var key = folder.getAttribute('sortKey');			var direction = folder.getAttribute('sortDirection');						if ( !column || !key )			{				column = "NameColumn";				key = 'http://home.netscape.com/NC-rdf#Name';			}			if ( !direction )				direction = 'ascending';						UpdateSortIndicator(column,direction);						DoSort(column, key, direction);		}		}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0bae2ed72e9748283256fed72e6330994a6cb0fd/abCommon.js/buggy/mailnews/addrbook/resources/content/abCommon.js