File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 94
94
hiddenFileInput . name = name
95
95
hiddenFileInput . value = parseURL ( result )
96
96
form . appendChild ( hiddenFileInput )
97
- var hiddenSignatureInput = document . createElement ( 'input' )
98
- hiddenSignatureInput . type = 'hidden'
99
- hiddenSignatureInput . name = name + '-s3f-signature'
100
- console . log ( fileInput . dataset . s3fSignature )
101
- hiddenSignatureInput . value = fileInput . dataset . s3fSignature
102
- form . appendChild ( hiddenSignatureInput )
103
97
} )
104
98
fileInput . name = ''
105
99
window . uploading -= 1
132
126
hiddenS3Input . name = 's3file'
133
127
hiddenS3Input . value = input . name
134
128
form . appendChild ( hiddenS3Input )
129
+ var hiddenSignatureInput = document . createElement ( 'input' )
130
+ hiddenSignatureInput . type = 'hidden'
131
+ hiddenSignatureInput . name = input . name + '-s3f-signature'
132
+ hiddenSignatureInput . value = input . dataset . s3fSignature
133
+ form . appendChild ( hiddenSignatureInput )
135
134
} )
136
135
inputs . forEach ( function ( input ) {
137
136
window . uploading += 1
You can’t perform that action at this time.
0 commit comments