aboutsummaryrefslogtreecommitdiff
path: root/uploader/static/js/populations.js
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/static/js/populations.js')
-rw-r--r--uploader/static/js/populations.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/uploader/static/js/populations.js b/uploader/static/js/populations.js
index ded9b10..d4980db 100644
--- a/uploader/static/js/populations.js
+++ b/uploader/static/js/populations.js
@@ -18,7 +18,8 @@ var populationDataTable = (populationdata) => {
data: (apopulation) => {
return `<input type="radio" name="population_id"`
+ `id="rdo_population_id_${apopulation.InbredSetId}" `
- + `value="${apopulation.InbredSetId}">`;
+ + `value="${apopulation.InbredSetId}" `
+ + `class="chk-row-select">`;
}
},
{
@@ -35,6 +36,7 @@ var populationDataTable = (populationdata) => {
$(() => {
+ dtAddCommonHandlers("#tbl-select-population");
populationDataTable(JSON.parse(
$("#tbl-select-population").attr("data-populations-list")));
});