summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2020-11-18 10:11:14 +0100
committerSimon Rettberg2020-11-18 10:11:14 +0100
commit4d302ffa6061d358414211a213a23d0d456b4fd0 (patch)
tree3558b8abed5525126e5556737f9ca7a4875c0233
parent[sysconfig] Show '?' for unused modules (diff)
downloadslx-admin-4d302ffa6061d358414211a213a23d0d456b4fd0.tar.gz
slx-admin-4d302ffa6061d358414211a213a23d0d456b4fd0.tar.xz
slx-admin-4d302ffa6061d358414211a213a23d0d456b4fd0.zip
[statistics] Fix shift-click select for re-ordered table
Closes #3673
-rw-r--r--modules-available/statistics/templates/clientlist.html1
1 files changed, 1 insertions, 0 deletions
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);