Updated Branches: refs/heads/master fe0bcdb0b -> d9d8bd99e
WICKET-3367 Rewrite all JavaScript inline event handlers to be proper attached event handlers Allow checkboxes to mark themselves as selected after click. Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/d9d8bd99 Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/d9d8bd99 Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/d9d8bd99 Branch: refs/heads/master Commit: d9d8bd99e316cb89cc4dd6a175ac9e4793114d00 Parents: fe0bcdb Author: martin-g <[email protected]> Authored: Tue Jan 3 12:20:52 2012 +0200 Committer: martin-g <[email protected]> Committed: Tue Jan 3 12:20:52 2012 +0200 ---------------------------------------------------------------------- .../wicket/ajax/markup/html/form/AjaxCheckBox.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/d9d8bd99/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxCheckBox.java ---------------------------------------------------------------------- diff --git a/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxCheckBox.java b/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxCheckBox.java index 0f05690..f621347 100644 --- a/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxCheckBox.java +++ b/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxCheckBox.java @@ -64,6 +64,7 @@ public abstract class AjaxCheckBox extends CheckBox { super.updateAjaxAttributes(attributes); AjaxCheckBox.this.updateAjaxAttributes(attributes); + attributes.setAllowDefault(true); } @Override
