]> source.dussan.org Git - vaadin-framework.git/commitdiff
merged fix for #5824
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Wed, 20 Apr 2011 13:09:03 +0000 (13:09 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Wed, 20 Apr 2011 13:09:03 +0000 (13:09 +0000)
svn changeset:18413/svn branch:6.6

src/com/vaadin/terminal/gwt/client/ui/VCheckBox.java

index 469fbf20ae2570fbadc9ae2528b3f1144bc3583b..6937ff7f59ac7bd3f5f5900c6a246ba27f97f3f6 100644 (file)
@@ -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);