aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-07-20 16:44:43 +0200
committerMario Vavti <mario@mariovavti.com>2018-07-20 16:44:43 +0200
commitf6de91bf0fe1abf41d9b15a553ba378e42a956d1 (patch)
treec7fd1a4e31f93f20a227248414fc5652ae8ff7a1
parent4a54699c1fd27a885c7b4f0ee8458fa8bda8075d (diff)
downloadvolse-hubzilla-f6de91bf0fe1abf41d9b15a553ba378e42a956d1.tar.gz
volse-hubzilla-f6de91bf0fe1abf41d9b15a553ba378e42a956d1.tar.bz2
volse-hubzilla-f6de91bf0fe1abf41d9b15a553ba378e42a956d1.zip
prevent double file uploads when dropping files into jot
-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) {