revert cloud acl selector (branched so as to continue development)

This commit is contained in:
redmatrix
2016-07-25 01:46:40 -07:00
parent 01338a7610
commit 0f5f1c98ca
2 changed files with 8 additions and 20 deletions

View File

@@ -90,9 +90,9 @@ function DragDropUploadFile(file, idx) {
}
});
// POST to the entire cloud path
xhr.open('post', 'file_upload', true);
xhr.open('post', window.location.pathname, true);
var data = new FormData(document.getElementById("ajax-upload-files"));
data.append('userfile', file);
data.append('file', file);
xhr.send(data);
}