diff --git a/readux_ingest_ecds/templates/admin/readux_ingest_ecds/bulk/change_form.html b/readux_ingest_ecds/templates/admin/readux_ingest_ecds/bulk/change_form.html index 94a8e2e..4e07a2b 100644 --- a/readux_ingest_ecds/templates/admin/readux_ingest_ecds/bulk/change_form.html +++ b/readux_ingest_ecds/templates/admin/readux_ingest_ecds/bulk/change_form.html @@ -101,15 +101,15 @@ xhr.addEventListener("abort", handleError); xhr.addEventListener("error", handleError); - xhr.onreadystatechange = (e) => { - if (xhr.readyState == XMLHttpRequest.DONE) { - if (buttonUsed === "start_upload") { - location.href = "/admin/"; - } else { - location.reload(); - } - } - }; + // xhr.onreadystatechange = (e) => { + // if (xhr.readyState == XMLHttpRequest.DONE) { + // if (buttonUsed === "start_upload") { + // location.href = "/admin/"; + // } else { + // location.reload(); + // } + // } + // }; // Send POST req xhr.open("POST", url, true);