diff options
author | redmatrix <git@macgirvin.com> | 2016-07-24 16:09:33 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-07-24 16:09:33 -0700 |
commit | 9967f2ab28d751517f63572c1f820dd3d9be5e62 (patch) | |
tree | 7a7ec0d900322eb7f4f831f258e5a844227e07f9 /view/tpl/jot-header.tpl | |
parent | 52c3960946f6addf149d7648e5ce63910120d9b4 (diff) | |
download | volse-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.
Diffstat (limited to 'view/tpl/jot-header.tpl')
-rwxr-xr-x | view/tpl/jot-header.tpl | 2 |
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); |