add timeout before remove images from dropzone

This commit is contained in:
Jakobus Schürz 2023-03-14 13:55:15 +01:00
parent 2403932a83
commit 64066349aa
2 changed files with 6 additions and 2 deletions

View File

@ -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);
});
},
});

View File

@ -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);
});
},
});