summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorTeppo Kurki <teppo.kurki@vaadin.com>2015-06-03 22:06:42 +0300
committerVaadin Code Review <review@vaadin.com>2015-06-04 11:34:57 +0000
commit69f66c8b28119da604836bde502e2220a35216e3 (patch)
tree4d4287b3cc7e27d0e43b13133a9035671300b452 /client
parent3954d200f0d1236738cdcd147d5b07540d812bba (diff)
downloadvaadin-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.java3
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();
+ }
}
}
}