diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2011-04-19 08:21:57 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2011-04-19 08:21:57 +0000 |
commit | 3f614c0e99694928cdd83c7d84757cf07e6d078e (patch) | |
tree | 35ceaa5082c33f198e7b72004a6db48aa3cbc1d1 /src/com | |
parent | b3d92ad4bdcd3568db2c01478bdfaa48e915a90c (diff) | |
download | vaadin-framework-3f614c0e99694928cdd83c7d84757cf07e6d078e.tar.gz vaadin-framework-3f614c0e99694928cdd83c7d84757cf07e6d078e.zip |
fixes #6661
svn changeset:18370/svn branch:6.6
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/dd/VDragAndDropManager.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/dd/VDragAndDropManager.java b/src/com/vaadin/terminal/gwt/client/ui/dd/VDragAndDropManager.java index 5bc4d2c79d..ecb57a49ce 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/dd/VDragAndDropManager.java +++ b/src/com/vaadin/terminal/gwt/client/ui/dd/VDragAndDropManager.java @@ -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; |