diff options
author | John Ahlroos <john@vaadin.com> | 2012-11-06 11:21:23 +0000 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2012-11-06 11:21:23 +0000 |
commit | 9f441030134a04f551c147c569ddce92e1cec9f6 (patch) | |
tree | 1738f3b6231b071ef81cebf425ea1a459f7cdbfc | |
parent | 4a17497424597046c5ff843ec1c52ebad82b54c7 (diff) | |
parent | f12ec250f72182fc4fe759d712aed15899000b42 (diff) | |
download | vaadin-framework-9f441030134a04f551c147c569ddce92e1cec9f6.tar.gz vaadin-framework-9f441030134a04f551c147c569ddce92e1cec9f6.zip |
Merge "Add v-disabled when disabling on client side (#10137)"
-rw-r--r-- | client/src/com/vaadin/client/ui/nativebutton/VNativeButton.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/ui/nativebutton/VNativeButton.java b/client/src/com/vaadin/client/ui/nativebutton/VNativeButton.java index d8cb2e28c9..2b1ea563e3 100644 --- a/client/src/com/vaadin/client/ui/nativebutton/VNativeButton.java +++ b/client/src/com/vaadin/client/ui/nativebutton/VNativeButton.java @@ -123,6 +123,9 @@ public class VNativeButton extends Button implements ClickHandler { } if (disableOnClick) { setEnabled(false); + // FIXME: This should be moved to NativeButtonConnector along with + // buttonRpcProxy + addStyleName(ApplicationConnection.DISABLED_CLASSNAME); buttonRpcProxy.disableOnClick(); } |