about summary refs log tree commit diff
path: root/uploader
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-04-21 17:10:26 -0500
committerFrederick Muriuki Muriithi2025-04-21 17:10:26 -0500
commitcafb1ac5bc86c4fa77f53f4dcfcaa2c0d726a3c7 (patch)
treecca2349af4fe3dee93d3cc4d67798989210ef02e /uploader
parent30e3f8d7626455feb914ac023ade299b2e400359 (diff)
downloadgn-uploader-cafb1ac5bc86c4fa77f53f4dcfcaa2c0d726a3c7.tar.gz
Associate each preview table with appropriate resumable object.
Diffstat (limited to 'uploader')
-rw-r--r--uploader/templates/phenotypes/add-phenotypes-raw-files.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/uploader/templates/phenotypes/add-phenotypes-raw-files.html b/uploader/templates/phenotypes/add-phenotypes-raw-files.html
index 8a2e2f7..6193edf 100644
--- a/uploader/templates/phenotypes/add-phenotypes-raw-files.html
+++ b/uploader/templates/phenotypes/add-phenotypes-raw-files.html
@@ -678,7 +678,9 @@
       ["frm-add-phenotypes", "finput-phenotype-se", "resumable-phenotype-se", "tbl-preview-pheno-se"],
       ["frm-add-phenotypes", "finput-phenotype-n", "resumable-phenotype-n", "tbl-preview-pheno-n"],
   ].map((row) => {
-      return makeResumableObject(row[0], row[1], row[2], row[3]);
+      r = makeResumableObject(row[0], row[1], row[2], row[3]);
+      r.preview_table = $("#" + row[3]);
+      return r;
   }).filter((val) => {
       return Boolean(val);
   });