Martin Grigorov created WICKET-5093:
---------------------------------------
Summary: The event listener in Wicket.Ajax.ajax() should not
return the value of attrs.ad (allowDefault)
Key: WICKET-5093
URL: https://issues.apache.org/jira/browse/WICKET-5093
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 6.6.0
Reporter: Martin Grigorov
Assignee: Martin Grigorov
Currently the event listeners registered in Wicket.Ajax.ajax() return the value
of attrs.ad as a result.
This is wrong because this way the event propagation is effected.
event.preventDefault != event.stopPropagation
If the propagation has to be stopped then a before handler can do
"Wicket.Event.stop(attrs.event)" where needed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira