Skip to content

Commit 06e821e

Browse files
authored
BC-10409 - CSV Upload for SHD Bulk Deletion not working with Firefox (Windows) (#321)
- remove unreliable file.type check
1 parent 3713b90 commit 06e821e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/scripts/batch-deletion/batch-deletion-upload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function loadCsvFile() {
4848
}
4949

5050
// Check file extension and type
51-
if (!file.name.endsWith('.csv') || (file.type && file.type !== 'text/csv')) {
51+
if (!file.name.endsWith('.csv')) {
5252
$.showNotification('nur CSV Dateien werden unterstützt', 'danger', true);
5353
resetFormFields();
5454
return;

0 commit comments

Comments
 (0)