aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-24 16:09:33 -0700
committerredmatrix <git@macgirvin.com>2016-07-24 16:09:33 -0700
commit9967f2ab28d751517f63572c1f820dd3d9be5e62 (patch)
tree7a7ec0d900322eb7f4f831f258e5a844227e07f9
parent52c3960946f6addf149d7648e5ce63910120d9b4 (diff)
downloadvolse-hubzilla-9967f2ab28d751517f63572c1f820dd3d9be5e62.tar.gz
volse-hubzilla-9967f2ab28d751517f63572c1f820dd3d9be5e62.tar.bz2
volse-hubzilla-9967f2ab28d751517f63572c1f820dd3d9be5e62.zip
call wall_attach rather than wall_upload for drag/drop; which means you can drag/drop any file and not just photos.
-rwxr-xr-xview/tpl/jot-header.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index 904b333d6..ee00e25e6 100755
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -520,7 +520,7 @@ function enableOnUser(){
}
});
// POST to the wall_upload endpoint
- xhr.open('post', '{{$baseurl}}/wall_upload/{{$nickname}}', true);
+ xhr.open('post', '{{$baseurl}}/wall_attach/{{$nickname}}', true);
var data = new FormData();
data.append('userfile', file);