jquery.fileDownload
jquery.fileDownload copied to clipboard
Fix of handling server error for IE
Fix of issue #106
Fix have 2 steps:
- Instead append form to iframe, we append form in our page to body, but we submit this form to iframe (use attribute "target").
- If we have exception "permission denied" in IE, we can not get the error text from the server.
Therefore we repeat request by ajax. In this case, we can get the response text for correct error handling
Thanks a lot for the fix ¡¡¡ Best regards.
Feedback on this PR. On IE11 with version 1.44 - our app encounters 'SCRIPT70: Permission denied' errors using POST method. Applying part 1 of this #PR fixes it. The app is returning an HTTP 200 - so part 2 of the PR is not relevant to our use case. Thank you for the PR.
ill take a look at getting this in, thank you for the feedback