From 52f6b4e6a565835d54f7a736f7b90a7e1308ab7b Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Sun, 30 Aug 2020 19:44:26 +0200 Subject: thread safe download multiple docs --- server/templates/server/doc_list.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'server/templates') diff --git a/server/templates/server/doc_list.html b/server/templates/server/doc_list.html index 2159130..2bdc6c5 100644 --- a/server/templates/server/doc_list.html +++ b/server/templates/server/doc_list.html @@ -551,10 +551,9 @@ function update() { if (data[0] == data[1]) { if (data[2]) { bar.className = "indeterminate"; - var url = '{% url "progress" %}' + '?job=' + '{{task_id}}' + '&download=true'; - box.innerHTML = "Il download dovrebbe partire automaticamente. Nel caso non succedesse cliccare il seguente link"; + url = '{% url "progress" %}' + '?job=' + '{{task_id}}' + '&download=true'; + box.innerHTML = "Il download dovrebbe partire automaticamente. Nel caso non succedesse cliccare il seguente link
Clicca lo sfondo per chiudere la finestra"; document.getElementById('downloadLink').click(); - } else { bar.style.width = "100%"; box.innerHTML = "Impacchettamento documenti..."; -- cgit v1.2.1