From 31ce97cb4470ac994beb3e15b9af92cbfb2a047f Mon Sep 17 00:00:00 2001 From: msinkec Date: Thu, 27 May 2021 09:29:32 +0200 Subject: [PATCH] increased dropzone timeouts. --- templates/basic-predavanja.html | 1 + templates/basic.html | 1 + templates/solar-oddaja.html | 1 + 3 files changed, 3 insertions(+) diff --git a/templates/basic-predavanja.html b/templates/basic-predavanja.html index 97cdff0..8293206 100644 --- a/templates/basic-predavanja.html +++ b/templates/basic-predavanja.html @@ -106,6 +106,7 @@ parallelUploads: {{max_files}}, paramName: "file", // The name that will be used to transfer the file maxFilesize: 10000, // MB + timeout: 10000000, // milliseconds //acceptedFiles: ".txt, .csv, .pdf, .doc, .docx, .xls, .xlsx, .ppt, .pptx", maxFiles: {{max_files}}, dictDefaultMessage: `Kliknite ali odložite datoteke sem.`, diff --git a/templates/basic.html b/templates/basic.html index a2962c1..658b5b3 100644 --- a/templates/basic.html +++ b/templates/basic.html @@ -191,6 +191,7 @@ zagotovili vse potrebne informacije v skladu s predpisi o varstvu osebnih podatk parallelUploads: {{max_files}}, paramName: "file", // The name that will be used to transfer the file maxFilesize: 1000, // MB + timeout: 5000000, // milliseconds acceptedFiles: ".txt, .csv, .pdf, .doc, .docx, .xls, .xlsx, .ppt, .pptx", maxFiles: {{max_files}}, dictDefaultMessage: `Kliknite ali odložite datoteke sem.`, diff --git a/templates/solar-oddaja.html b/templates/solar-oddaja.html index 0078dd9..f0b915f 100644 --- a/templates/solar-oddaja.html +++ b/templates/solar-oddaja.html @@ -245,6 +245,7 @@ zagotovili vse potrebne informacije v skladu s predpisi o varstvu osebnih podatk parallelUploads: 20, paramName: "file", // The name that will be used to transfer the file maxFilesize: 1000, // MB + timeout: 5000000, // milliseconds acceptedFiles: ".txt, .csv, .pdf, .doc, .docx, .xls, .xlsx, .ppt, .pptx", maxFiles: 20, dictDefaultMessage: `Kliknite ali odložite datoteke sem.`,