fix small bug that was appending 'undefined' to the uploaded fiels

This commit is contained in:
Henrique Dias 2016-11-20 19:34:30 +00:00
parent eb6f8cc5d2
commit 2f417c33b4

View File

@ -34,7 +34,7 @@
</div>
</div>
<input style="display:none" type="file" id="upload-input" onchange="handleFiles(this.files)" value="Upload" multiple>
<input style="display:none" type="file" id="upload-input" onchange="handleFiles(this.files, '')" value="Upload" multiple>
{{ end }}
{{ if .User.AllowNew }}