diff options
author | Artur Signell <artur@vaadin.com> | 2015-08-28 15:44:54 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2015-08-31 12:01:09 +0300 |
commit | df3e10d969ec976216a3d5578420f38bbf649589 (patch) | |
tree | 385889a2c4aac4360c0b1caed20ba7a4c4b952e5 /shared | |
parent | d11b90c8ed3aa63f920e17675275c014f670f759 (diff) | |
download | vaadin-framework-df3e10d969ec976216a3d5578420f38bbf649589.tar.gz vaadin-framework-df3e10d969ec976216a3d5578420f38bbf649589.zip |
Add modality configuration option for reconnect dialog (#11733)
Leave the request state as open until reconnect is done and the message has
been delivered. This avoids flushing the rpc queue during reconnect, which
would cause two concurrent requests.
Change-Id: I320ffccd49c26acd16bd70b34ba28b465d17842c
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/ui/ui/UIState.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/src/com/vaadin/shared/ui/ui/UIState.java b/shared/src/com/vaadin/shared/ui/ui/UIState.java index 6991f2b1cb..442c3a1ffb 100644 --- a/shared/src/com/vaadin/shared/ui/ui/UIState.java +++ b/shared/src/com/vaadin/shared/ui/ui/UIState.java @@ -72,7 +72,7 @@ public class UIState extends TabIndexState { * @since 7.3 */ public String theme; - public ReconnectDialogConfigurationState reconnectDialog = new ReconnectDialogConfigurationState(); + public ReconnectDialogConfigurationState reconnectDialogConfiguration = new ReconnectDialogConfigurationState(); { primaryStyleName = "v-ui"; // Default is 1 for legacy reasons @@ -132,6 +132,7 @@ public class UIState extends TabIndexState { public int reconnectAttempts = 10000; public int reconnectInterval = 5000; public int dialogGracePeriod = 1000; + public boolean dialogModal = true; } public static class LocaleServiceState implements Serializable { |