summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2016-12-12 16:32:59 +0200
committerGitHub <noreply@github.com>2016-12-12 16:32:59 +0200
commite63b51a831676bdcc15b889c1636c0dcccbc0bc0 (patch)
treed1a9a81d394b9e44830d106bda0b5fed76dc596d /shared
parentf1f4be9dc2134270256d8338f9cac562bc1ba1fd (diff)
downloadvaadin-framework-e63b51a831676bdcc15b889c1636c0dcccbc0bc0.tar.gz
vaadin-framework-e63b51a831676bdcc15b889c1636c0dcccbc0bc0.zip
Change Upload to be in immediate mode by default (#111)
Fixes vaadin/framework8-issues#547
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/upload/UploadState.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/upload/UploadState.java b/shared/src/main/java/com/vaadin/shared/ui/upload/UploadState.java
index 6c42a50928..5245905441 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/upload/UploadState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/upload/UploadState.java
@@ -25,7 +25,7 @@ import com.vaadin.shared.AbstractComponentState;
public class UploadState extends AbstractComponentState {
/** Is the upload component in immediate mode or not */
- public boolean immediateMode;
+ public boolean immediateMode = true;
{
primaryStyleName = "v-upload";