prevent double file uploads when dropping files into jot

(cherry picked from commit f6de91bf0f)
This commit is contained in:
Mario Vavti 2018-07-20 16:44:43 +02:00 committed by Mario
parent 0cde7f9897
commit ed79bef51b

View File

@ -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) {