diff options
author | Denis Anisimov <denis@vaadin.com> | 2014-09-14 15:26:37 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-10-16 07:16:15 +0000 |
commit | 3f53527ee7a18a48037575b2562d89668e0a0634 (patch) | |
tree | bac3c1a521c6b949c15d578c2105d276f96a2815 /server/src/com/vaadin/ui/Button.java | |
parent | a4a992efcf95b3615402047456fcb2995a1736f4 (diff) | |
download | vaadin-framework-3f53527ee7a18a48037575b2562d89668e0a0634.tar.gz vaadin-framework-3f53527ee7a18a48037575b2562d89668e0a0634.zip |
Use isConnectorEnabled instead of isEnabled for client requests(#12781).
Change-Id: Iac6dc5caf9ece76d9289da05f83289152b005406
Diffstat (limited to 'server/src/com/vaadin/ui/Button.java')
-rw-r--r-- | server/src/com/vaadin/ui/Button.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/Button.java b/server/src/com/vaadin/ui/Button.java index 76b82aa034..e58ad7bee5 100644 --- a/server/src/com/vaadin/ui/Button.java +++ b/server/src/com/vaadin/ui/Button.java @@ -359,7 +359,7 @@ public class Button extends AbstractComponent implements * No action is taken is the button is disabled. */ public void click() { - if (isEnabled() && !isReadOnly()) { + if (isConnectorEnabled() && !isReadOnly()) { fireClick(); } } |