diff --git a/Resources/public/jquery.dropzone_uploader.js b/Resources/public/jquery.dropzone_uploader.js index 08b04bf..ac2c178 100644 --- a/Resources/public/jquery.dropzone_uploader.js +++ b/Resources/public/jquery.dropzone_uploader.js @@ -48,10 +48,6 @@ } } - if (errorText === 'error.whitelist' || errorText === 'error.blacklist') { - errorText = this.options.dictInvalidFileType; - } - $previewElement.addClass("dz-error"); $previewElement.find("[data-dz-errormessage]").text(errorText); }