summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-07-06 22:26:45 +0300
committerVaadin Code Review <review@vaadin.com>2015-07-07 14:32:48 +0000
commit7946a939001ed6eacdce03b4a4e7c16b7430a8e6 (patch)
tree991efd9f4903752275458e4f5ea196bbc5f6b27a /client
parentabc1c5dff6438d65e53473b69ae9a3ca2b8e60e1 (diff)
downloadvaadin-framework-7946a939001ed6eacdce03b4a4e7c16b7430a8e6.tar.gz
vaadin-framework-7946a939001ed6eacdce03b4a4e7c16b7430a8e6.zip
Keep a reference to the file we are uploading to keep IE10 happy (#18372)
Change-Id: I480c37b051f0efb2b0d7b1c6922eb7479117b62c
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/VDragAndDropWrapper.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/ui/VDragAndDropWrapper.java b/client/src/com/vaadin/client/ui/VDragAndDropWrapper.java
index defa27fbac..f3905f9e46 100644
--- a/client/src/com/vaadin/client/ui/VDragAndDropWrapper.java
+++ b/client/src/com/vaadin/client/ui/VDragAndDropWrapper.java
@@ -472,6 +472,9 @@ public class VDragAndDropWrapper extends VCustomComponent implements
/*-{
this.setRequestHeader('Content-Type', 'multipart/form-data');
+ // Seems like IE10 will loose the file if we don't keep a reference to it...
+ this.fileBeingUploaded = file;
+
this.send(file);
}-*/;