[
https://issues.apache.org/jira/browse/WICKET-6750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17043514#comment-17043514
]
Emond Papegaaij commented on WICKET-6750:
-----------------------------------------
[~reiern70] I checked the example and it was working with CSP. Are you adding
inline js? If so, use OnEventHeaderItem instead.
Note that it seems the dev tools initially have some issues loading the
resources with CSP enabled. I've seen violations being reported when you open
the dev tools. After reloading the page everything is fine again.
> add capability to cancel ongoing AJAX requests from client side
> ---------------------------------------------------------------
>
> Key: WICKET-6750
> URL: https://issues.apache.org/jira/browse/WICKET-6750
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-core
> Affects Versions: 8.7.0, 9.0.0-M4
> Reporter: Ernesto Reinaldo Barreiro
> Assignee: Ernesto Reinaldo Barreiro
> Priority: Major
> Fix For: 9.0.0-M5
>
> Attachments: image-2020-02-24-14-35-26-176.png
>
>
> Currently it is not possible to stop an ongoing AJAX request form client
> side. This would be nice to have, on a per channel basis, for use cases such
> as:
> 1- user cancelling a long lasting AJAX upload or other not duration
> predictable AJAX requests?
> 2- add some logic at client side killing long running AJAX requests under
> certain conditions?
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)