diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/com/vaadin/tests/dd/DragDropPane.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/src/com/vaadin/tests/dd/DragDropPane.java b/tests/src/com/vaadin/tests/dd/DragDropPane.java index cd7a372d2e..2b75760e50 100644 --- a/tests/src/com/vaadin/tests/dd/DragDropPane.java +++ b/tests/src/com/vaadin/tests/dd/DragDropPane.java @@ -113,11 +113,8 @@ public class DragDropPane extends DragAndDropWrapper implements DropHandler { WrapperTransferable wtr = (WrapperTransferable) ctr; - String object = (String) ctr.getData("Text"); - if (object == null) { - object = (String) ctr.getData("text/plain"); - } - String html = (String) ctr.getData("Html"); + String object = wtr.getText(); + String html = wtr.getHtml(); String url = (String) ctr.getData("Url"); final Label l = new Label(); |