]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixes #6661
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 19 Apr 2011 08:21:57 +0000 (08:21 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 19 Apr 2011 08:21:57 +0000 (08:21 +0000)
svn changeset:18370/svn branch:6.6

src/com/vaadin/terminal/gwt/client/ui/dd/VDragAndDropManager.java

index 5bc4d2c79d955fd9685d6128c46e57dca659e550..ecb57a49ced5f8de6506f95afad5f98efdfbe1fd 100644 (file)
@@ -203,8 +203,10 @@ public class VDragAndDropManager {
 
                 break;
 
-            case Event.ONMOUSEUP:
             case Event.ONTOUCHEND:
+                /* Avoid simulated event on drag end */
+                event.getNativeEvent().preventDefault();
+            case Event.ONMOUSEUP:
                 endDrag();
                 break;