[GH-ISSUE #137] IE11 aborts upload after 30s #97

Closed
opened 2026-03-02 15:55:45 +03:00 by kerem · 2 comments
Owner

Originally created by @crispyduck00 on GitHub (Mar 12, 2019).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/137

IE11 aborts the ajax file upload always after 30s.

Trying to analyze this I found out that IE also does not like following syntax:

946                     xhr.ontimeout = (() => { 
947                         alert('Error: Server Timeout'); 
948                     }); 

Researching for the upload issue with IE11 I came across a post which mentioned that it helps to add a empty function for in progress. So I changed the code as followed, which does no more throw a syntax error and also solves the IE file upload:

946                     }).on("progress", function () {
947                     }).on("timeout", function () {
948                        alert('Error: Server Timeout');

As I am no developer, I have no idea if I am doing it correct, but this seems to fix the Problems with IE and does also not lead to problems with other browsers.

regards,
crispyduck

Originally created by @crispyduck00 on GitHub (Mar 12, 2019). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/137 IE11 aborts the ajax file upload always after 30s. Trying to analyze this I found out that IE also does not like following syntax: ``` 946 xhr.ontimeout = (() => { 947 alert('Error: Server Timeout'); 948 }); ``` Researching for the upload issue with IE11 I came across a post which mentioned that it helps to add a empty function for in progress. So I changed the code as followed, which does no more throw a syntax error and also solves the IE file upload: ``` 946 }).on("progress", function () { 947 }).on("timeout", function () { 948 alert('Error: Server Timeout'); ``` As I am no developer, I have no idea if I am doing it correct, but this seems to fix the Problems with IE and does also not lead to problems with other browsers. regards, crispyduck
kerem 2026-03-02 15:55:45 +03:00
Author
Owner

@prasathmani commented on GitHub (Mar 13, 2019):

Fixed

<!-- gh-comment-id:472304890 --> @prasathmani commented on GitHub (Mar 13, 2019): Fixed
Author
Owner

@crispyduck00 commented on GitHub (Mar 13, 2019):

Perfect Thanks!

<!-- gh-comment-id:472322390 --> @crispyduck00 commented on GitHub (Mar 13, 2019): Perfect Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#97
No description provided.