aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-25 01:46:40 -0700
committerredmatrix <git@macgirvin.com>2016-07-25 01:46:40 -0700
commit0f5f1c98cae1becdbd303a85005fd5381eefe1b0 (patch)
tree24f6da0ffe77f2ced3aad36ba61693c500e601f0 /view/js
parent01338a76103a18d053413f1a8ad45870b2babf02 (diff)
downloadvolse-hubzilla-0f5f1c98cae1becdbd303a85005fd5381eefe1b0.tar.gz
volse-hubzilla-0f5f1c98cae1becdbd303a85005fd5381eefe1b0.tar.bz2
volse-hubzilla-0f5f1c98cae1becdbd303a85005fd5381eefe1b0.zip
revert cloud acl selector (branched so as to continue development)
Diffstat (limited to 'view/js')
-rw-r--r--view/js/mod_cloud.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/js/mod_cloud.js b/view/js/mod_cloud.js
index 8f08c7fe9..71e916446 100644
--- a/view/js/mod_cloud.js
+++ b/view/js/mod_cloud.js
@@ -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);
}