aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-07-20 16:44:43 +0200
committerMario <mario@mariovavti.com>2018-07-20 16:45:50 +0200
commited79bef51b726899cd200cd306871f92d6d08190 (patch)
tree5bb4a01fb346f0214c2b133eec52e8dc063de161 /view
parent0cde7f98975f5cbbc612d2fa3e4e2aa0849eea98 (diff)
downloadvolse-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)
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/jot-header.tpl1
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) {