rem: while (currCol && currCol.localName != "outlinercol") currCol = currCol.nextSibling; if (currCol) { if (currCol != sortedColumn) { currCol.removeAttribute("sortDirection"); } currCol = currCol.nextSibling; } 
add: if (currCol != sortedColumn && currCol.localName == "outlinercol") currCol.removeAttribute("sortDirection"); currCol = currCol.nextSibling; 
context: function handleColumnClick(columnID) {  var sortType = convertColumnIDtoSortType(columnID);  var sortOrder = (outlinerView.sortType == sortType) ? !outlinerView.reverseSort : false;  outlinerView.sort(sortType, sortOrder);    // set the sort indicator on the column we are sorted by  var sortedColumn = document.getElementById(columnID);  if (outlinerView.reverseSort) {    sortedColumn.setAttribute("sortDirection", "descending");  } else {    sortedColumn.setAttribute("sortDirection", "ascending");  }    // remove the sort indicator from the rest of the columns  var currCol = document.getElementById("directoryOutliner").firstChild;  while (currCol) {    while (currCol && currCol.localName != "outlinercol")      currCol = currCol.nextSibling;    if (currCol) {      if (currCol != sortedColumn) {        currCol.removeAttribute("sortDirection");      }      currCol = currCol.nextSibling;    }  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/728727cafd21cdf40e3948a45a38ab6ae91baa1c/filepicker.js/clean/xpfe/components/filepicker/res/content/filepicker.js