We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 572b318 commit f11f978Copy full SHA for f11f978
app/assets/javascripts/jquery-fileupload/jquery.fileupload.js
@@ -723,14 +723,15 @@
723
var that = this,
724
file = options.files[0],
725
fs = file.size,
726
+ forceChunkedUpload = options.forceChunkedUpload,
727
ub = options.uploadedBytes,
728
mcs = options.maxChunkSize || fs,
729
slice = this._blobSlice,
730
dfd = $.Deferred(),
731
promise = dfd.promise(),
732
jqXHR,
733
upload;
- if (!(this._isXHRUpload(options) && slice && (ub || mcs < fs)) ||
734
+ if (!(this._isXHRUpload(options) && slice && (forceChunkedUpload || ub || mcs < fs)) ||
735
options.data) {
736
return false;
737
}
0 commit comments