diff options
author | Frederick Muriuki Muriithi | 2025-01-28 09:18:27 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-01-28 09:18:27 -0600 |
commit | c3edb3797aa528244bccd9ec701b8b11871c7e11 (patch) | |
tree | cba238ed42fe428106159214975bf5eb8c33e7ab /uploader/templates/phenotypes | |
parent | 7b468bf8ad6d62568f7be01c86ad1df7e4c74ba4 (diff) | |
download | gn-uploader-c3edb3797aa528244bccd9ec701b8b11871c7e11.tar.gz |
Redirect to the job-status page on success.
Diffstat (limited to 'uploader/templates/phenotypes')
-rw-r--r-- | uploader/templates/phenotypes/add-phenotypes-raw-files.html | 2 |
1 files changed, 2 insertions, 0 deletions
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) => { |