rem: if (resultsTree) { if (uri != resultsTree.getAttribute("ref")) { ClearResultsTreeSelection(); resultsTree.setAttribute("ref", uri); WaitUntilDocumentIsLoaded(); SortToPreviousSettings(); SelectFirstCard(); UpdateStatusCardCounts(uri); 
add:  if (!uri) uri = kPersonalAddressbookURI;  if (gAbView && gAbView.URI == uri) return;  var sortColumn = dirNode.getAttribute("sortColumn"); var sortDirection = dirNode.getAttribute("sortDirection");  if (!sortColumn) sortColumn = kDefaultSortColumn;  if (!sortDirection) sortDirection = kDefaultAscending;  var actualSortColumn = SetAbView(uri, sortColumn, sortDirection);  UpdateSortIndicators(actualSortColumn, sortDirection);   if (gAbView && gAbView.getCardFromRow(0)) { SelectFirstCard(); 
context: function ChangeDirectoryByDOMNode(dirNode){  var uri = dirNode.getAttribute("id");  if (resultsTree) {    if (uri != resultsTree.getAttribute("ref")) {      ClearResultsTreeSelection();      resultsTree.setAttribute("ref", uri);      WaitUntilDocumentIsLoaded();      SortToPreviousSettings();      SelectFirstCard();      UpdateStatusCardCounts(uri);    }  }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/d08d4d3f9753b01573c0820f3dc3010c62295d11/abCommon.js/clean/mailnews/addrbook/resources/content/abCommon.js