diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2007-10-29 09:32:36 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2007-10-29 09:32:36 +0000 |
commit | 6f9416a61c6dc66fcb6c31d2815fc2f27ec7a7ce (patch) | |
tree | 097b237ce28d5a42089f74882852f6819f63a8d7 /src | |
parent | b7185fe095edb9e52acf4c617a7a63b0a793035b (diff) | |
download | vaadin-framework-6f9416a61c6dc66fcb6c31d2815fc2f27ec7a7ce.tar.gz vaadin-framework-6f9416a61c6dc66fcb6c31d2815fc2f27ec7a7ce.zip |
fixes #1007
svn changeset:2613/svn branch:trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/com/itmill/toolkit/terminal/gwt/client/ui/IWindow.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/IWindow.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/IWindow.java index adae8e218c..6895130ab8 100644 --- a/src/com/itmill/toolkit/terminal/gwt/client/ui/IWindow.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/IWindow.java @@ -351,6 +351,7 @@ public class IWindow extends PopupPanel implements Paintable, ScrollListener { startY = DOM.eventGetScreenY(event); origX = DOM.getAbsoluteLeft(getElement()); origY = DOM.getAbsoluteTop(getElement()); + DOM.eventPreventDefault(event); DOM.addEventPreview(this); break; case Event.ONMOUSEUP: @@ -363,7 +364,6 @@ public class IWindow extends PopupPanel implements Paintable, ScrollListener { int y = DOM.eventGetScreenY(event) - startY + origY; this.setPopupPosition(x, y); DOM.eventPreventDefault(event); - } break; default: |