Fix timeout issue on drag&drop uploads (#1489170)

pull/84/head
Aleksander Machniak 12 years ago
parent f0398c87d9
commit 99e17f6131

@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
- Fix timeout issue on drag&drop uploads (#1489170)
- Fix thread cache syncronization/validation (#1489028)
- Fix default sorting of threaded list when THREAD=REFS isn't supported
- Fix list mode switch to 'List' after saving list settings in Larry skin (#1489164)

@ -6433,6 +6433,7 @@ function rcube_webmail()
url: ref.url(ref.env.filedrop.action||'upload', { _id:ref.env.compose_id||ref.env.cid||'', _uploadid:ts, _remote:1 }),
contentType: formdata ? false : 'multipart/form-data; boundary=' + boundary,
processData: false,
timeout: 0, // disable default timeout set in ajaxSetup()
data: formdata || multipart,
headers: {'X-Roundcube-Request': ref.env.request_token},
beforeSend: function(xhr, s) { if (!formdata && xhr.sendAsBinary) xhr.send = xhr.sendAsBinary; },

Loading…
Cancel
Save