commands write with the same switch

This commit is contained in:
Ville Rantanen
2018-02-18 17:28:51 +02:00
parent f16ec3eeb4
commit 7dce698bae
3 changed files with 22 additions and 20 deletions

View File

@@ -59,6 +59,7 @@ function UploadFile(file,file_no,files_total) {
xhr.setRequestHeader("X-FILENAME", file.name);
var formData = new FormData();
formData.append('name', document.getElementById("list_upload_name").value);
formData.append('from_gui', 'true');
formData.append('file', file);
xhr.send(formData);