projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67cb144
)
Roo/dd/DragDrop.js
author
Alan Knowles
<alan@roojs.com>
Tue, 24 Dec 2013 06:44:27 +0000
(14:44 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 24 Dec 2013 06:44:27 +0000
(14:44 +0800)
Roo/dd/DragDrop.js
patch
|
blob
|
history
diff --git
a/Roo/dd/DragDrop.js
b/Roo/dd/DragDrop.js
index
286b7ac
..
581b27c
100644
(file)
--- a/
Roo/dd/DragDrop.js
+++ b/
Roo/dd/DragDrop.js
@@
-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);
},