Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 16, 2018. It is now read-only.

Commit67d69b0

Browse files
committed
allow extraFields to be a function
1 parentea33a26 commit67d69b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎jquery.html5_upload.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156
if(window.FormData){//Many thanks to scottt.tw
157157
varf=newFormData();
158158
f.append(typeof(options.fieldName)=="function" ?options.fieldName() :options.fieldName,file);
159+
options.extraFields=typeof(options.extraFields)=="function" ?options.extraFields() :options.extraFields;
159160
$.each(options.extraFields,function(key,val){
160161
f.append(key,val);
161162
});

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp