From f31fadd0e1e38b3f3209257c807c9d4bb8f86a55 Mon Sep 17 00:00:00 2001 From: LDQ Date: Mon, 16 Aug 2021 21:42:54 +0000 Subject: [PATCH] Fix CSV windows --- templates/user/import/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/user/import/index.html b/templates/user/import/index.html index 635b4fd..5f71b8a 100644 --- a/templates/user/import/index.html +++ b/templates/user/import/index.html @@ -27,10 +27,10 @@ $('#load_button').addClass('disabled'); var file = files[0]; - if (file.type != 'text/csv') { - alert("{{_('Upload CSV only')}}"); - return; - } + //if (file.type != 'text/csv') { + // alert("{{_('Upload CSV only')}}"); + // return; + //} var form_data = new FormData(); form_data.append('csv_file', file, file.name); @@ -108,4 +108,4 @@

-{% endblock %} \ No newline at end of file +{% endblock %}