B2G/gecko/browser/base/content/browser-places.js
/**
   * Handler for command event for an item in the bookmarks toolbar.
   * Menus and submenus from the folder buttons bubble up to this handler.
   * Opens the item.
   * @param aEvent 
   *        DOMEvent for the command
   * @param aView
   *        The places view which aEvent should be associated with.
   */
Handler for command event for an item in the bookmarks toolbar.
Menus and submenus from the folder buttons bubble up to this handler.
Opens the item.
@param aEvent
DOMEvent for the command
@param aView
The places view which aEvent should be associated with.
Handler for command event for an item in the bookmarks toolbar . Menus and submenus from the folder buttons bubble up to this handler . Opens the item . @param aEvent DOMEvent for the command @param aView The places view which aEvent should be associated with .
function BEH_onCommand(aEvent, aView) {
    var target = aEvent.originalTarget;
    if (target._placesNode)
      PlacesUIUtils.openNodeWithEvent(target._placesNode, aEvent, aView);
  }
function BEH_onCommand ( aEvent , aView ) { var target = aEvent . originalTarget ; if ( target . _placesNode ) PlacesUIUtils . openNodeWithEvent ( target . _placesNode , aEvent , aView ) ; }
Handler for command event for an item in the bookmarks toolbar.
Handler for command event for an item in the bookmarks toolbar .