B2G/gecko/browser/components/places/content/treeView.js
/**
   * This is called once both the result and the tree are set.
   */
This is called once both the result and the tree are set.
This is called once both the result and the tree are set .
function PTV__finishInit() {
    let selection = this.selection;
    if (selection)
      selection.selectEventsSuppressed = true;
    if (!this._rootNode.containerOpen) {
      this._rootNode.containerOpen = true;
    }
    else
      this.invalidateContainer(this._rootNode);
    this.sortingChanged(this._result.sortingMode);
    if (selection)
      selection.selectEventsSuppressed = false;
  }
function PTV__finishInit ( ) { let selection = this . selection ; if ( selection ) selection . selectEventsSuppressed = true ; if ( ! this . _rootNode . containerOpen ) { this . _rootNode . containerOpen = true ; } else this . invalidateContainer ( this . _rootNode ) ; this . sortingChanged ( this . _result . sortingMode ) ; if ( selection ) selection . selectEventsSuppressed = false ; }
This is called once both the result and the tree are set.
This is called once both the result and the tree are set .
// This triggers containerStateChanged which then builds the visible // section. // "Activate" the sorting column and update commands.