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