diff options
Diffstat (limited to 'uploader/templates/phenotypes/add-phenotypes-raw-files.html')
-rw-r--r-- | uploader/templates/phenotypes/add-phenotypes-raw-files.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/uploader/templates/phenotypes/add-phenotypes-raw-files.html b/uploader/templates/phenotypes/add-phenotypes-raw-files.html index b720792..d9a8424 100644 --- a/uploader/templates/phenotypes/add-phenotypes-raw-files.html +++ b/uploader/templates/phenotypes/add-phenotypes-raw-files.html @@ -568,7 +568,10 @@ var formdata = new FormData(form); uploaded_files.forEach((msg) => { formdata.delete(msg["file-input-name"]); - formdata.append(msg["file-input-name"], msg["uploaded-file"]); + formdata.append(msg["file-input-name"], JSON.stringify({ + "uploaded-file": msg["uploaded-file"], + "original-name": msg["original-name"] + })); }); formdata.append("resumable-upload", "true"); return formdata; |