summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2011-04-06 13:22:11 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2011-04-06 13:22:11 +0000
commit7469f19896f1810e20f13750210c6a157c16df7f (patch)
tree45a5bd101ce4fc35d2a9c3272f4ec07ad0f6d3b4 /src
parentd925360c80f765b4b56744b10effbaf648fada6f (diff)
downloadvaadin-framework-7469f19896f1810e20f13750210c6a157c16df7f.tar.gz
vaadin-framework-7469f19896f1810e20f13750210c6a157c16df7f.zip
fixes #6772: dropped files now work again
svn changeset:18134/svn branch:6.5
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VDragAndDropWrapper.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VDragAndDropWrapper.java b/src/com/vaadin/terminal/gwt/client/ui/VDragAndDropWrapper.java
index 6a5beefaa2..3ed73eafd9 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VDragAndDropWrapper.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VDragAndDropWrapper.java
@@ -169,15 +169,15 @@ public class VDragAndDropWrapper extends VCustomComponent implements
uploading = true;
final Integer fileId = fileIds.remove(0);
VHtml5File file = files.remove(0);
- final String receiverUrl = fileIdToReceiver
- .remove(fileId.toString());
+ final String receiverUrl = client
+ .translateVaadinUri(fileIdToReceiver
+ .remove(fileId.toString()));
ExtendedXHR extendedXHR = (ExtendedXHR) ExtendedXHR
.create();
extendedXHR
.setOnReadyStateChange(readyStateChangeHandler);
extendedXHR.open("POST", receiverUrl);
extendedXHR.postFile(file);
-
}
}