jquery.fileDownload icon indicating copy to clipboard operation
jquery.fileDownload copied to clipboard

Fix of handling server error for IE

Open fornit1917 opened this issue 9 years ago • 3 comments

Fix of issue #106

Fix have 2 steps:

  1. Instead append form to iframe, we append form in our page to body, but we submit this form to iframe (use attribute "target").
  2. 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

fornit1917 avatar Apr 25 '16 14:04 fornit1917

Thanks a lot for the fix ¡¡¡ Best regards.

txarly74 avatar Apr 25 '16 15:04 txarly74

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.

dvbarnz avatar Dec 11 '17 12:12 dvbarnz

ill take a look at getting this in, thank you for the feedback

johnculviner avatar Dec 11 '17 15:12 johnculviner