aboutsummaryrefslogtreecommitdiffstats
path: root/client/src
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 08:25:07 +0000
commit73d4e770751a3d78f9f177c82b2aa8c7281ec77f (patch)
tree13c81384d39a72bbdc8d25d9329027bcbd26a93e /client/src
parent8d2bbed0a53e8f46a9a613feaccd4e88d0c61a4e (diff)
downloadvaadin-framework-73d4e770751a3d78f9f177c82b2aa8c7281ec77f.tar.gz
vaadin-framework-73d4e770751a3d78f9f177c82b2aa8c7281ec77f.zip
Keep a reference to the file we are uploading to keep IE10 happy (#18372)
Change-Id: I2dc9b846e1c3ae123b26eac017082bea4ba6f7c3
Diffstat (limited to 'client/src')
-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);
}-*/;