diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-07-20 16:44:43 +0200 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-07-20 16:45:50 +0200 |
commit | ed79bef51b726899cd200cd306871f92d6d08190 (patch) | |
tree | 5bb4a01fb346f0214c2b133eec52e8dc063de161 | |
parent | 0cde7f98975f5cbbc612d2fa3e4e2aa0849eea98 (diff) | |
download | volse-hubzilla-ed79bef51b726899cd200cd306871f92d6d08190.tar.gz volse-hubzilla-ed79bef51b726899cd200cd306871f92d6d08190.tar.bz2 volse-hubzilla-ed79bef51b726899cd200cd306871f92d6d08190.zip |
prevent double file uploads when dropping files into jot
(cherry picked from commit f6de91bf0fe1abf41d9b15a553ba378e42a956d1)
-rwxr-xr-x | view/tpl/jot-header.tpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index cd8e3e97c..dd64c3454 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -97,6 +97,7 @@ var activeCommentText = ''; $('#invisible-comment-upload').fileupload({ url: 'wall_attach/{{$nickname}}', dataType: 'json', + dropZone: $(), maxChunkSize: 4 * 1024 * 1024, add: function(e,data) { |