Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
Set browserEvent parameter within AbstractDragDrop#startDrag.
Browse files Browse the repository at this point in the history
RELNOTES: Set browserEvent parameter within AbstractDragDrop#endDrag.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=144235787
  • Loading branch information
joeltine committed Jan 13, 2017
1 parent 743c4ab commit 68284ff
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion closure/goog/fx/abstractdragdrop.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,16 @@ goog.fx.AbstractDragDrop.prototype.startDrag = function(event, item) {

// Dispatch DRAGSTART event
var dragStartEvent = new goog.fx.DragDropEvent(
goog.fx.AbstractDragDrop.EventType.DRAGSTART, this, this.dragItem_);
goog.fx.AbstractDragDrop.EventType.DRAGSTART, this, this.dragItem_,
undefined, // opt_target
undefined, // opt_targetItem
undefined, // opt_targetElement
undefined, // opt_clientX
undefined, // opt_clientY
undefined, // opt_x
undefined, // opt_y
undefined, // opt_subtarget
event);
if (this.dispatchEvent(dragStartEvent) == false) {
this.dragItem_ = null;
return;
Expand Down

0 comments on commit 68284ff

Please sign in to comment.