summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2010-03-22 15:50:55 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2010-03-22 15:50:55 +0000
commit67a01f5080518da18b0d8f04fdaa889bbddbe7a4 (patch)
tree3b56a597adf5a8073108049abd433d0a75827b56 /tests
parentc1566151950edf24e0bf62807f38d0b070c9963d (diff)
downloadvaadin-framework-67a01f5080518da18b0d8f04fdaa889bbddbe7a4.tar.gz
vaadin-framework-67a01f5080518da18b0d8f04fdaa889bbddbe7a4.zip
Suggestive api for basic html5 data types.
svn changeset:12017/svn branch:6.3
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/vaadin/tests/dd/DragDropPane.java7
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();