aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-07-26 15:57:47 +0200
committerMario Vavti <mario@mariovavti.com>2016-07-26 15:57:47 +0200
commit7126fd4b313d60062e111c55fafbae47b9e53a68 (patch)
tree6bb84392a38dcb9d065fe7b6b59e5a1378701bc9
parent560af7a5b8e30001ea6bf9a6d2ea36e94ae904d0 (diff)
downloadvolse-hubzilla-7126fd4b313d60062e111c55fafbae47b9e53a68.tar.gz
volse-hubzilla-7126fd4b313d60062e111c55fafbae47b9e53a68.tar.bz2
volse-hubzilla-7126fd4b313d60062e111c55fafbae47b9e53a68.zip
fix drag and drop
-rw-r--r--view/js/mod_cloud.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/mod_cloud.js b/view/js/mod_cloud.js
index 71e916446..0584cec53 100644
--- a/view/js/mod_cloud.js
+++ b/view/js/mod_cloud.js
@@ -93,6 +93,6 @@ function DragDropUploadFile(file, idx) {
xhr.open('post', window.location.pathname, true);
var data = new FormData(document.getElementById("ajax-upload-files"));
- data.append('file', file);
+ data.append('file[]', file);
xhr.send(data);
}