diff options
author | zsloan | 2022-09-08 19:51:47 +0000 |
---|---|---|
committer | zsloan | 2022-09-08 14:54:31 -0500 |
commit | 80fba7544b4816c94b0675d7b3f9b8821bf224e3 (patch) | |
tree | 3675e3f4b9742f11c8e67afef6206b8b9406e0a3 | |
parent | 83cbf4392df5359c25abd280aa9e13bd0d4fb368 (diff) | |
download | genenetwork2-80fba7544b4816c94b0675d7b3f9b8821bf224e3.tar.gz |
Fix getCheckedRows so that it only selects checkbox input elements
-rw-r--r-- | wqflask/wqflask/static/new/javascript/table_functions.js | 2 |
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); } |