From 81f5f9b05afb9956dcff9dd06b02f86fd566415f Mon Sep 17 00:00:00 2001 From: Herst Date: Mon, 1 Jun 2015 15:26:20 +0200 Subject: [PATCH] XHR timeout disabled is required for file uploads. A timeout (e.g. set globally to work around certain Google Chrome bugs) would otherwise break file uploads lasting longer than the set value. --- js/jquery.fileupload.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/jquery.fileupload.js b/js/jquery.fileupload.js index 9819d10ec..6f288dcfb 100644 --- a/js/jquery.fileupload.js +++ b/js/jquery.fileupload.js @@ -277,7 +277,8 @@ // The following are jQuery ajax settings required for the file uploads: processData: false, contentType: false, - cache: false + cache: false, + timeout: 0 }, // A list of options that require reinitializing event listeners and/or