Don't let the tools spinners spin infinitely after a form submission
Description
Currently, the spinners never stop spinning on an export. This is because we have actually navigated away from the current page to download the file and aborted.
Options:
setNextEvent back before sending the file. It can be a little jarring, but it does stop the loading. There is no success or error messages, though.
Use a plugin like jQuery File Download to provide the same download over ajax. This should just need to adjust the handler and the javascript to make work. This approach could also benefit from success and error messages.
Currently, the spinners never stop spinning on an export. This is because we have actually navigated away from the current page to download the file and aborted.
Options:
setNextEvent
back before sending the file. It can be a little jarring, but it does stop the loading. There is no success or error messages, though.Use a plugin like jQuery File Download to provide the same download over ajax. This should just need to adjust the handler and the javascript to make work. This approach could also benefit from success and error messages.