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 ea33a26 commit 67d69b0Copy full SHA for 67d69b0
jquery.html5_upload.js
@@ -156,6 +156,7 @@
156
if (window.FormData) {//Many thanks to scottt.tw
157
var f = new FormData();
158
f.append(typeof(options.fieldName) == "function" ? options.fieldName() : options.fieldName, file);
159
+ options.extraFields = typeof(options.extraFields) == "function" ? options.extraFields() : options.extraFields;
160
$.each(options.extraFields, function(key, val){
161
f.append(key, val);
162
});
0 commit comments