diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-07-20 16:44:43 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-07-20 16:44:43 +0200 |
commit | f6de91bf0fe1abf41d9b15a553ba378e42a956d1 (patch) | |
tree | c7fd1a4e31f93f20a227248414fc5652ae8ff7a1 /view | |
parent | 4a54699c1fd27a885c7b4f0ee8458fa8bda8075d (diff) | |
download | volse-hubzilla-f6de91bf0fe1abf41d9b15a553ba378e42a956d1.tar.gz volse-hubzilla-f6de91bf0fe1abf41d9b15a553ba378e42a956d1.tar.bz2 volse-hubzilla-f6de91bf0fe1abf41d9b15a553ba378e42a956d1.zip |
prevent double file uploads when dropping files into jot
Diffstat (limited to 'view')
-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) { |