]> source.dussan.org Git - vaadin-framework.git/commitdiff
fix position on initial event
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 2 Feb 2010 14:35:08 +0000 (14:35 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 2 Feb 2010 14:35:08 +0000 (14:35 +0000)
svn changeset:11108/svn branch:6.3_dd

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

index 41f058a99494682b3bb2afd5bfc31c6e9e8a148b..fd17d7c4d073e6fe86640cdfa4a9dacb43053bb3 100644 (file)
@@ -98,7 +98,7 @@ public class VDragAndDropManager {
                                 currentDropHandler.dragOver(currentDrag);
                             }
                             nativeEvent.preventDefault(); // prevent text
-                                                          // selection on IE
+                            // selection on IE
                             return;
                         default:
                             // just update element over and let the actual
@@ -512,6 +512,7 @@ public class VDragAndDropManager {
             Style style = node.getStyle();
             style.setPosition(Position.ABSOLUTE);
             style.setZIndex(600000);
+            updateDragImagePosition();
             RootPanel.getBodyElement().appendChild(node);
         }
     }