wicket-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adelb...@apache.org
Subject [1/3] git commit: WICKET-5683 PreviousButton isEnabled() should bo logical conjunction of getWizardModel().isPreviousAvailable() and super.isEnabled()
Date Wed, 27 Aug 2014 17:00:17 GMT
Repository: wicket
Updated Branches:
  refs/heads/wicket-6.x a59548233 -> 594d36ec8


WICKET-5683 PreviousButton isEnabled() should bo logical conjunction of
getWizardModel().isPreviousAvailable() and super.isEnabled()


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/783c3be4
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/783c3be4
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/783c3be4

Branch: refs/heads/wicket-6.x
Commit: 783c3be4327375e4ff4278879743592e7f267bec
Parents: a595482
Author: adelbene <an.delbene@gmail.com>
Authored: Wed Aug 27 14:03:38 2014 +0200
Committer: adelbene <an.delbene@gmail.com>
Committed: Wed Aug 27 18:39:21 2014 +0200

----------------------------------------------------------------------
 .../java/org/apache/wicket/extensions/wizard/PreviousButton.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/783c3be4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/PreviousButton.java
----------------------------------------------------------------------
diff --git a/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/PreviousButton.java
b/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/PreviousButton.java
index 0e07a6c..cf801f2 100644
--- a/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/PreviousButton.java
+++ b/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/PreviousButton.java
@@ -46,7 +46,7 @@ public class PreviousButton extends WizardButton
 	@Override
 	public boolean isEnabled()
 	{
-		return getWizardModel().isPreviousAvailable();
+		return getWizardModel().isPreviousAvailable() && super.isEnabled();
 	}
 
 	/**


Mime
View raw message