From 4d302ffa6061d358414211a213a23d0d456b4fd0 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 18 Nov 2020 10:11:14 +0100 Subject: [statistics] Fix shift-click select for re-ordered table Closes #3673 --- modules-available/statistics/templates/clientlist.html | 1 + 1 file changed, 1 insertion(+) diff --git a/modules-available/statistics/templates/clientlist.html b/modules-available/statistics/templates/clientlist.html index 53db7c84..19fbaaa4 100644 --- a/modules-available/statistics/templates/clientlist.html +++ b/modules-available/statistics/templates/clientlist.html @@ -261,6 +261,7 @@ document.addEventListener("DOMContentLoaded", function () { return; } if (e.shiftKey) { + $boxes = $('.machine-checkbox'); const start = $boxes.index(this); const end = $boxes.index(lastChecked); $boxes.slice(Math.min(start, end), Math.max(start, end) + 1).prop('checked', lastChecked.checked); -- cgit v1.2.3-55-g7522