From fb64726854479dc52993dd4a18ee2a54294d1ac4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 2 Dec 2018 10:01:03 +0300 Subject: filters: simplify list row selection for checkboxes --- js/functions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/functions.js b/js/functions.js index 3a07b170f..b7d37044c 100755 --- a/js/functions.js +++ b/js/functions.js @@ -1137,7 +1137,7 @@ const Filters = { new dijit.form.CheckBox({ onChange: function () { - toggleSelectListRow2(this) + $$(".rchk")[0].up("li").toggleClassName("Selected"); }, }, cb); @@ -1186,7 +1186,7 @@ const Filters = { new dijit.form.CheckBox({ onChange: function () { - toggleSelectListRow2(this) + $$(".rchk")[0].up("li").toggleClassName("Selected"); }, }, cb); -- cgit v1.2.3