]> source.dussan.org Git - vaadin-framework.git/commitdiff
#8209 Call click() from handleAction
authorJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Tue, 20 Mar 2012 15:13:08 +0000 (15:13 +0000)
committerJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Tue, 20 Mar 2012 15:13:08 +0000 (15:13 +0000)
svn changeset:23276/svn branch:6.8

src/com/vaadin/ui/Button.java

index 8a98f0ccb02340f58cf57cc85a13858e6bd33faa..3c9978459269d528ab0cf480f19b10b950286ce4 100644 (file)
@@ -667,9 +667,7 @@ public class Button extends AbstractField implements FieldEvents.BlurNotifier,
 
         @Override
         public void handleAction(Object sender, Object target) {
-            if (button.isEnabled() && !button.isReadOnly()) {
-                button.fireClick();
-            }
+            button.click();
         }
     }