prevent double file uploads when dropping files into jot
(cherry picked from commit f6de91bf0f
)
This commit is contained in:
parent
0cde7f9897
commit
ed79bef51b
@ -97,6 +97,7 @@ var activeCommentText = '';
|
|||||||
$('#invisible-comment-upload').fileupload({
|
$('#invisible-comment-upload').fileupload({
|
||||||
url: 'wall_attach/{{$nickname}}',
|
url: 'wall_attach/{{$nickname}}',
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
|
dropZone: $(),
|
||||||
maxChunkSize: 4 * 1024 * 1024,
|
maxChunkSize: 4 * 1024 * 1024,
|
||||||
add: function(e,data) {
|
add: function(e,data) {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user