diff --git a/view/templates/item/compose.tpl b/view/templates/item/compose.tpl index 689357ca12..581e8d29fd 100644 --- a/view/templates/item/compose.tpl +++ b/view/templates/item/compose.tpl @@ -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); }); }, }); diff --git a/view/theme/frio/templates/comment_item.tpl b/view/theme/frio/templates/comment_item.tpl index d224db559b..127612b29c 100644 --- a/view/theme/frio/templates/comment_item.tpl +++ b/view/theme/frio/templates/comment_item.tpl @@ -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); }); }, });