B2G/gecko/browser/devtools/webconsole/AutocompletePopup.jsm
/**
   * Open the autocomplete popup panel.
   *
   * @param nsIDOMNode aAnchor
   *        Optional node to anchor the panel to.
   */
Open the autocomplete popup panel.
@param nsIDOMNode aAnchor
Optional node to anchor the panel to.
Open the autocomplete popup panel . @param nsIDOMNode aAnchor Optional node to anchor the panel to .
function AP_openPopup(aAnchor)
  {
    this._panel.openPopup(aAnchor, "after_start", 0, 0, false, false);
    if (this.onSelect) {
      this._list.addEventListener("select", this.onSelect, false);
    }
    if (this.onClick) {
      this._list.addEventListener("click", this.onClick, false);
    }
    this._updateSize();
  }
function AP_openPopup ( aAnchor ) { this . _panel . openPopup ( aAnchor , "after_start" , 0 , 0 , false , false ) ; if ( this . onSelect ) { this . _list . addEventListener ( "select" , this . onSelect , false ) ; } if ( this . onClick ) { this . _list . addEventListener ( "click" , this . onClick , false ) ; } this . _updateSize ( ) ; }
Open the autocomplete popup panel.
Open the autocomplete popup panel .