aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2022-09-08 19:51:47 +0000
committerzsloan2022-09-08 14:54:31 -0500
commit80fba7544b4816c94b0675d7b3f9b8821bf224e3 (patch)
tree3675e3f4b9742f11c8e67afef6206b8b9406e0a3
parent83cbf4392df5359c25abd280aa9e13bd0d4fb368 (diff)
downloadgenenetwork2-80fba7544b4816c94b0675d7b3f9b8821bf224e3.tar.gz
Fix getCheckedRows so that it only selects checkbox input elements
-rw-r--r--wqflask/wqflask/static/new/javascript/table_functions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/static/new/javascript/table_functions.js b/wqflask/wqflask/static/new/javascript/table_functions.js
index ea2cf60c..62888cd9 100644
--- a/wqflask/wqflask/static/new/javascript/table_functions.js
+++ b/wqflask/wqflask/static/new/javascript/table_functions.js
@@ -17,7 +17,7 @@ recheckRows = function(theTable, checkedRows){
getCheckedRows = function(tableId){
let checkedRows = []
- $("#" + tableId + " input").each(function(index){
+ $("#" + tableId + " input.checkbox").each(function(index){
if ($(this).prop("checked") == true){
checkedRows.push(index);
}