aboutsummaryrefslogtreecommitdiff
path: root/qc_app
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-12-20 06:36:52 +0300
committerFrederick Muriuki Muriithi2023-12-20 06:36:52 +0300
commitbc3a81510aee3a35e0c923f91947ad0772ed2742 (patch)
treee6ab11439a0d4941a1b7738f1b51c027200dda4b /qc_app
parentcb7f6b866672f44d730f303639e6372d2ae2babe (diff)
downloadgn-uploader-bc3a81510aee3a35e0c923f91947ad0772ed2742.tar.gz
Reduce table columns
Reduce the table columns displayed by javascript for the platforms.
Diffstat (limited to 'qc_app')
-rw-r--r--qc_app/static/js/select_platform.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/qc_app/static/js/select_platform.js b/qc_app/static/js/select_platform.js
index d78877e..456cfcf 100644
--- a/qc_app/static/js/select_platform.js
+++ b/qc_app/static/js/select_platform.js
@@ -10,7 +10,7 @@ function radio_column(chip) {
}
function setup_genechips(genechip_data) {
- columns = ["GeneChipName", "Name", "GeoPlatform", "GO_tree_value"]
+ columns = ["GeneChipId", "GeneChipName"]
submit_button = document.querySelector(
"#select-platform-form input[type='submit']");
elt = document.getElementById(
@@ -19,7 +19,7 @@ function setup_genechips(genechip_data) {
if((genechip_data === undefined) || genechip_data.length === 0) {
row = document.createElement("tr");
col = document.createElement("td");
- col.setAttribute("colspan", "5");
+ col.setAttribute("colspan", "3");
text = document.createTextNode("No chips found for selected species");
col.appendChild(text);
row.appendChild(col);