B2G/gecko/browser/base/content/sanitizeDialog.js
/**
   * The index of the row that the grippy occupies.  Note that the index of the
   * last selected row is getGrippyRow() - 1.  If getGrippyRow() is 0, then
   * no selection exists.
   *
   * @return The row index of the grippy
   */
The index of the row that the grippy occupies.  Note that the index of the
last selected row is getGrippyRow() - 1.  If getGrippyRow() is 0, then
no selection exists.

@return The row index of the grippy
The index of the row that the grippy occupies . Note that the index of the last selected row is getGrippyRow () - 1 . If getGrippyRow () is 0 then no selection exists . @return The row index of the grippy
function CSTH_getGrippyRow()
  {
    var sel = this.tree.view.selection;
    var rangeCount = sel.getRangeCount();
    if (rangeCount === 0)
      return 0;
    if (rangeCount !== 1) {
      throw "contiguous selection tree helper: getGrippyRow called with " +
            "multiple selection ranges";
    }
    var max = {};
    sel.getRangeAt(0, {}, max);
    return max.value + 1;
  }
function CSTH_getGrippyRow ( ) { var sel = this . tree . view . selection ; var rangeCount = sel . getRangeCount ( ) ; if ( rangeCount === 0 ) return 0 ; if ( rangeCount !== 1 ) { throw "contiguous selection tree helper: getGrippyRow called with " + "multiple selection ranges" ; } var max = { } ; sel . getRangeAt ( 0 , { } , max ) ; return max . value + 1 ; }
The index of the row that the grippy occupies.
The index of the row that the grippy occupies .