From 910b8014cfe2a38e27e0e54eedbf8544bf96d601 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 24 Dec 2013 14:40:15 +0800 Subject: [PATCH] Roo/dd/DragDrop.js --- Roo/dd/DragDrop.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Roo/dd/DragDrop.js b/Roo/dd/DragDrop.js index b2f7a429cf..286b7acf30 100644 --- a/Roo/dd/DragDrop.js +++ b/Roo/dd/DragDrop.js @@ -566,6 +566,7 @@ Roo.extend(Roo.dd.DragDrop, Roo.util.Observable , { init: function(id, sGroup, config) { this.initTarget(id, sGroup, config); Event.on(this.id, "mousedown", this.handleMouseDown, this); + Event.on(this.id, "touchstart", this.handleMouseDown, this); // Event.on(this.id, "selectstart", Event.preventDefault); }, @@ -790,6 +791,8 @@ Roo.extend(Roo.dd.DragDrop, Roo.util.Observable , { unreg: function() { Event.un(this.id, "mousedown", this.handleMouseDown); + Event.un(this.id, "touchstart", + this.handleMouseDown); this._domRef = null; this.DDM._remove(this); }, -- 2.39.2