add timeout before remove images from dropzone
This commit is contained in:
parent
2403932a83
commit
64066349aa
|
@ -123,7 +123,9 @@
|
|||
// Image can be seen in posting-preview
|
||||
// We need preview to get optical feedback about upload-progress.
|
||||
// you see success, when the bb-code link for image is inserted
|
||||
this.removeFile(file);
|
||||
setTimeout(function(){
|
||||
dropzoneCompose.removeFile(file);
|
||||
},5000);
|
||||
});
|
||||
},
|
||||
});
|
||||
|
|
|
@ -93,7 +93,9 @@
|
|||
// Image can be seen in posting-preview
|
||||
// We need preview to get optical feedback about upload-progress.
|
||||
// you see success, when the bb-code link for image is inserted
|
||||
this.removeFile(file);
|
||||
setTimeout(function(){
|
||||
dropzone{{$id}}.removeFile(file);
|
||||
},5000);
|
||||
});
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user