add timeout before remove images from dropzone

This commit is contained in:
Jakobus Schürz 2023-03-14 13:55:15 +01:00
parent 03481071b9
commit 2d63385803
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);
});
},
});