B2G/gecko/browser/components/places/content/places.js
/**
   * Gets the last column that was sorted.
   * @returns  the currently sorted column, null if there is no sorted column.
   */
Gets the last column that was sorted.
@returns  the currently sorted column, null if there is no sorted column.
Gets the last column that was sorted . @returns the currently sorted column null if there is no sorted column .
function VM__getSortColumn() {
    var content = document.getElementById("placeContent");
    var cols = content.columns;
    for (var i = 0; i < cols.count; ++i) {
      var column = cols.getColumnAt(i).element;
      var sortDirection = column.getAttribute("sortDirection");
      if (sortDirection == "ascending" || sortDirection == "descending")
        return column;
    }
    return null;
  }
function VM__getSortColumn ( ) { var content = document . getElementById ( "placeContent" ) ; var cols = content . columns ; for ( var i = 0 ; i < cols . count ; ++ i ) { var column = cols . getColumnAt ( i ) . element ; var sortDirection = column . getAttribute ( "sortDirection" ) ; if ( sortDirection == "ascending" || sortDirection == "descending" ) return column ; } return null ; }
Gets the last column that was sorted.
Gets the last column that was sorted .