diff --git a/web_src/js/features/common-global.js b/web_src/js/features/common-global.js index c00c06c0cc..c2e0111849 100644 --- a/web_src/js/features/common-global.js +++ b/web_src/js/features/common-global.js @@ -247,6 +247,10 @@ export function initGlobalDropzone() { }); } }); + this.on('error', function (file, message) { + showErrorToast(message); + this.removeFile(file); + }); }, }); }