From c3edb3797aa528244bccd9ec701b8b11871c7e11 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 28 Jan 2025 09:18:27 -0600 Subject: Redirect to the job-status page on success. --- uploader/templates/phenotypes/add-phenotypes-raw-files.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'uploader/templates/phenotypes') diff --git a/uploader/templates/phenotypes/add-phenotypes-raw-files.html b/uploader/templates/phenotypes/add-phenotypes-raw-files.html index d9a8424..7f8d8b0 100644 --- a/uploader/templates/phenotypes/add-phenotypes-raw-files.html +++ b/uploader/templates/phenotypes/add-phenotypes-raw-files.html @@ -600,10 +600,12 @@ console.log("SUCCESS DATA: ", data); console.log("SUCCESS STATUS: ", textstatus); console.log("SUCCESS jqXHR: ", jqxhr); + window.location.assign(window.location.origin + data["redirect-to"]); }, }); return false; } + return false; }; var uploadSuccess = (file_input_name) => { -- cgit v1.2.3