[
https://issues.apache.org/jira/browse/WICKET-5197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-5197.
-------------------------------------
Resolution: Fixed
AjaxButton and AjaxFallbackButton properly prevent the default behavior of the
submit event.
Other components that use AjaxFormSubmitBehavior (like AjaxSubmitLink) should
not prevent the default because in this case the event type is 'click', not
'submit'.
> Rename AjaxRequestAttributes#allowDefault to #preventDefault
> ------------------------------------------------------------
>
> Key: WICKET-5197
> URL: https://issues.apache.org/jira/browse/WICKET-5197
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 7.0.0
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
> Priority: Minor
> Fix For: 7.0.0
>
>
> Rename AjaxRequestAttributes#allowDefault to #preventDefault to be in sync
> with jQuery.
> Also change the default behavior to be allowed, i.e. by default
> preventDefault should be false.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)