From: Matti Tahvonen Date: Wed, 20 Apr 2011 13:09:03 +0000 (+0000) Subject: merged fix for #5824 X-Git-Tag: 6.7.0.beta1~303 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=08333aaf9437a38eba4f2217a29fbef3f7198cea;p=vaadin-framework.git merged fix for #5824 svn changeset:18413/svn branch:6.6 --- diff --git a/src/com/vaadin/terminal/gwt/client/ui/VCheckBox.java b/src/com/vaadin/terminal/gwt/client/ui/VCheckBox.java index 469fbf20ae..6937ff7f59 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VCheckBox.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VCheckBox.java @@ -50,7 +50,7 @@ public class VCheckBox extends com.google.gwt.user.client.ui.CheckBox implements addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { - if (id == null || client == null) { + if (id == null || client == null || !isEnabled()) { return; } client.updateVariable(id, "state", getValue(), immediate);