From 749fd7085ec2db6af0b4f401378b2694be3626c7 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Wed, 13 Mar 2013 13:50:44 +0200 Subject: [PATCH] Added missing state update on the client side (#11028) Change-Id: I547f6e6426208d788b92ea8f429d4bb0aa9fdf24 --- .../src/com/vaadin/client/ui/checkbox/CheckBoxConnector.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } -- 2.39.5