Skip to content

Commit

Permalink
Remove constant server messages handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitro-N committed Jul 18, 2021
1 parent d39a1b7 commit 787d16c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Resources/public/jquery.dropzone_uploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 787d16c

Please sign in to comment.