diff options
author | Frederick Muriuki Muriithi | 2025-03-10 12:36:08 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-03-10 12:44:29 -0500 |
commit | 28c9447fb51fc764143b5add664e8f4b892a703d (patch) | |
tree | 9ccd74f92c5d416396221072048be3b41a91d8cc /uploader/static/js/populations.js | |
parent | c6cf301278f1c1bc530d139d134e3c766aa10a3f (diff) | |
download | gn-uploader-28c9447fb51fc764143b5add664e8f4b892a703d.tar.gz |
Update how the DataTables handlers are set up.
Diffstat (limited to 'uploader/static/js/populations.js')
-rw-r--r-- | uploader/static/js/populations.js | 4 |
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"))); }); |