Description
We put an ajax indicator on our page. This adds the wicket.show('indicator') method before the call to wicketAjaxGet.
To the wicketAjaxGet a success and failure handler are attached that call the wicket.hide methods.
We have a button that redirects to a file, so the page doesn't change. The browser just pops up a file download dialog. The thing is that the ajax indicator isn't removed.
There are no calls to successHandler or failureHandler for redirects only for loadedCalls.
I attached a patch that adds a call to the successHandler after the this.done() when a redirect is asked for. In most of the cases the successHandler is an empty function.
Attachments
Attachments
Issue Links
- duplicates
-
WICKET-1987 Ajax response never get completed
- Resolved
- is related to
-
WICKET-1838 AjaxLink setResponsePage to a stream = queue is not resumed after redirect.
- Resolved