aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/phenotypes/add-phenotypes-raw-files.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-01-28 09:18:27 -0600
committerFrederick Muriuki Muriithi2025-01-28 09:18:27 -0600
commitc3edb3797aa528244bccd9ec701b8b11871c7e11 (patch)
treecba238ed42fe428106159214975bf5eb8c33e7ab /uploader/templates/phenotypes/add-phenotypes-raw-files.html
parent7b468bf8ad6d62568f7be01c86ad1df7e4c74ba4 (diff)
downloadgn-uploader-c3edb3797aa528244bccd9ec701b8b11871c7e11.tar.gz
Redirect to the job-status page on success.
Diffstat (limited to 'uploader/templates/phenotypes/add-phenotypes-raw-files.html')
-rw-r--r--uploader/templates/phenotypes/add-phenotypes-raw-files.html2
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) => {