prevent double file uploads when dropping files into jot

This commit is contained in:
Mario Vavti 2018-07-20 16:44:43 +02:00
parent 4a54699c1f
commit f6de91bf0f

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