WICKET-5680 clear input on cancel Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/45ad072f Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/45ad072f Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/45ad072f
Branch: refs/heads/WICKET-5677 Commit: 45ad072fc482ed4a2d3b187befbfba6de01033d5 Parents: 45719f3 Author: svenmeier <s...@meiers.net> Authored: Thu Aug 21 10:29:20 2014 +0200 Committer: svenmeier <s...@meiers.net> Committed: Thu Aug 21 10:29:20 2014 +0200 ---------------------------------------------------------------------- .../wicket/extensions/ajax/markup/html/AjaxEditableLabel.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/45ad072f/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/AjaxEditableLabel.java ---------------------------------------------------------------------- diff --git a/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/AjaxEditableLabel.java b/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/AjaxEditableLabel.java index 86bfc45..f52f134 100644 --- a/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/AjaxEditableLabel.java +++ b/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/AjaxEditableLabel.java @@ -474,6 +474,7 @@ public class AjaxEditableLabel<T> extends Panel { label.setVisible(true); editor.setVisible(false); + editor.clearInput(); target.add(AjaxEditableLabel.this); }