[
https://issues.apache.org/jira/browse/WICKET-6953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17485698#comment-17485698
]
Sebastian Gooren commented on WICKET-6953:
------------------------------------------
According to [~svenmeier] this was broken in WICKET-6703:
{quote}that seems to be broken since
issues.apache.org/jira/browse/WICKET-6703
The JS is correctly collected by PartialPageUpdate, but then sent
through the response decorators once again, thus being wrapped in a
'DOMContentLoaded' listener.
{quote}
> JavaScriptDeferHeaderResponse not working correctly for AJAX requests
> ---------------------------------------------------------------------
>
> Key: WICKET-6953
> URL: https://issues.apache.org/jira/browse/WICKET-6953
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 9.7.0
> Reporter: Sebastian Gooren
> Priority: Minor
> Attachments: myproject.zip
>
>
> When using the `JavaScriptDeferHeaderResponse` any javascript code is
> (incorrectly) wrapped in `DOMContentLoaded` listeners for AJAX requests.
> Quickstart that demonstrates the issue is attached.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)