Roo/dd/DragDrop.js
authorAlan Knowles <alan@roojs.com>
Tue, 24 Dec 2013 06:44:27 +0000 (14:44 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 24 Dec 2013 06:44:27 +0000 (14:44 +0800)
Roo/dd/DragDrop.js

index 286b7ac..581b27c 100644 (file)
@@ -565,7 +565,9 @@ 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);
+        if (!Roo.isTouch) {
+            Event.on(this.id, "mousedown", this.handleMouseDown, this);
+        }
         Event.on(this.id, "touchstart", this.handleMouseDown, this);
         // Event.on(this.id, "selectstart", Event.preventDefault);
     },