B2G/gecko/browser/base/content/browser-places.js
/**
   * Called when the user drops on the <menu> element.
   * @param   event
   *          The Drop event. 
   */
Called when the user drops on the  element.
@param   event
The Drop event.
Called when the user drops on the element . @param event The Drop event .
function PMDH_onDrop(event) {
    let ip = new InsertionPoint(PlacesUtils.bookmarksMenuFolderId,
                                PlacesUtils.bookmarks.DEFAULT_INDEX,
                                Ci.nsITreeView.DROP_ON);
    PlacesControllerDragHelper.onDrop(ip, event.dataTransfer);
    event.stopPropagation();
  }
function PMDH_onDrop ( event ) { let ip = new InsertionPoint ( PlacesUtils . bookmarksMenuFolderId , PlacesUtils . bookmarks . DEFAULT_INDEX , Ci . nsITreeView . DROP_ON ) ; PlacesControllerDragHelper . onDrop ( ip , event . dataTransfer ) ; event . stopPropagation ( ) ; }
Called when the user drops on the <menu> element.
Called when the user drops on the <menu > element .
// Put the item at the end of bookmark menu.