From 68284fff66caf41b5740f8369b6a984d14f6cd78 Mon Sep 17 00:00:00 2001 From: Joel Martinez Date: Wed, 11 Jan 2017 12:21:53 -0800 Subject: [PATCH] Set browserEvent parameter within AbstractDragDrop#startDrag. RELNOTES: Set browserEvent parameter within AbstractDragDrop#endDrag. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=144235787 --- closure/goog/fx/abstractdragdrop.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/closure/goog/fx/abstractdragdrop.js b/closure/goog/fx/abstractdragdrop.js index 09ceec80af..503ee378ac 100644 --- a/closure/goog/fx/abstractdragdrop.js +++ b/closure/goog/fx/abstractdragdrop.js @@ -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;