summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-03-13 13:50:44 +0200
committerArtur Signell <artur@vaadin.com>2013-03-13 13:50:44 +0200
commit749fd7085ec2db6af0b4f401378b2694be3626c7 (patch)
tree9a5ee39de3a52a4d2859fb53b113779d0c4fffa1 /client
parent5cba827316eed64508ffb254edb95f303f44eab9 (diff)
downloadvaadin-framework-749fd7085ec2db6af0b4f401378b2694be3626c7.tar.gz
vaadin-framework-749fd7085ec2db6af0b4f401378b2694be3626c7.zip
Added missing state update on the client side (#11028)
Change-Id: I547f6e6426208d788b92ea8f429d4bb0aa9fdf24
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/checkbox/CheckBoxConnector.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/checkbox/CheckBoxConnector.java b/client/src/com/vaadin/client/ui/checkbox/CheckBoxConnector.java
index 014ea849a2..772419e730 100644
--- a/client/src/com/vaadin/client/ui/checkbox/CheckBoxConnector.java
+++ b/client/src/com/vaadin/client/ui/checkbox/CheckBoxConnector.java
@@ -143,11 +143,13 @@ public class CheckBoxConnector extends AbstractFieldConnector implements
return;
}
+ getState().checked = getWidget().getValue();
+
// Add mouse details
MouseEventDetails details = MouseEventDetailsBuilder
.buildMouseEventDetails(event.getNativeEvent(), getWidget()
.getElement());
- getRpcProxy(CheckBoxServerRpc.class).setChecked(getWidget().getValue(),
+ getRpcProxy(CheckBoxServerRpc.class).setChecked(getState().checked,
details);
}