diff options
author | Teppo Kurki <teppo.kurki@vaadin.com> | 2015-06-03 22:06:42 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-06-04 11:34:57 +0000 |
commit | 69f66c8b28119da604836bde502e2220a35216e3 (patch) | |
tree | 4d4287b3cc7e27d0e43b13133a9035671300b452 /client | |
parent | 3954d200f0d1236738cdcd147d5b07540d812bba (diff) | |
download | vaadin-framework-69f66c8b28119da604836bde502e2220a35216e3.tar.gz vaadin-framework-69f66c8b28119da604836bde502e2220a35216e3.zip |
Do not send value change to server for non-immediate CheckBox (#18102)
Change-Id: I60a58af72d7166869d8bdc8930e16440e02d2ac5
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/checkbox/CheckBoxConnector.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/ui/checkbox/CheckBoxConnector.java b/client/src/com/vaadin/client/ui/checkbox/CheckBoxConnector.java index 63984ff225..9e689f3314 100644 --- a/client/src/com/vaadin/client/ui/checkbox/CheckBoxConnector.java +++ b/client/src/com/vaadin/client/ui/checkbox/CheckBoxConnector.java @@ -158,6 +158,9 @@ public class CheckBoxConnector extends AbstractFieldConnector implements .getElement()); getRpcProxy(CheckBoxServerRpc.class).setChecked(getState().checked, details); + if (getState().immediate) { + getConnection().sendPendingVariableChanges(); + } } } } |