diff options
| author | Andrew Dolgov <noreply@fakecake.org> | 2018-12-02 10:01:03 +0300 |
|---|---|---|
| committer | Andrew Dolgov <noreply@fakecake.org> | 2018-12-02 10:01:03 +0300 |
| commit | fb64726854479dc52993dd4a18ee2a54294d1ac4 (patch) | |
| tree | 38f82f908830b285c91dc53d1456f80af6481b3d | |
| parent | da9f83c4aca502ad7fcd6439221d4deabdef0124 (diff) | |
filters: simplify list row selection for checkboxes
| -rwxr-xr-x | js/functions.js | 4 |
1 files 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); |