B2G/gecko/browser/components/places/content/controller.js
/**
   * Determines whether or not the root node for the view is selected
   */
Determines whether or not the root node for the view is selected
Determines whether or not the root node for the view is selected
function PC_rootNodeIsSelected() {
    var nodes = this._view.selectedNodes;
    var root = this._view.result.root;
    for (var i = 0; i < nodes.length; ++i) {
      if (nodes[i] == root)
        return true;
    }
    return false;
  }
function PC_rootNodeIsSelected ( ) { var nodes = this . _view . selectedNodes ; var root = this . _view . result . root ; for ( var i = 0 ; i < nodes . length ; ++ i ) { if ( nodes [ i ] == root ) return true ; } return false ; }
Determines whether or not the root node for the view is selected
Determines whether or not the root node for the view is selected