Module: check_mk
Branch: master
Commit: 962d5ef7404d22f299b2d22196ac230425c18658
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=962d5ef7404d22…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jun 30 13:45:35 2017 +0200
4928 FIX Views: Toggle all checkboxes in row select was missing last row in grouped views
Change-Id: Icbd843226e767801a156cc14a83aa055c71f4145
---
.werks/4928 | 11 +++++++++++
web/htdocs/js/checkmk.js | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/4928 b/.werks/4928
new file mode 100644
index 0000000..fd48a77
--- /dev/null
+++ b/.werks/4928
@@ -0,0 +1,11 @@
+Title: Views: Toggle all checkboxes in row select was missing last row in grouped views
+Level: 1
+Component: multisite
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i1
+Date: 1498823113
+
+
diff --git a/web/htdocs/js/checkmk.js b/web/htdocs/js/checkmk.js
index 18c59ba..601cd24 100644
--- a/web/htdocs/js/checkmk.js
+++ b/web/htdocs/js/checkmk.js
@@ -1553,7 +1553,7 @@ function toggle_group_rows(checkbox) {
} else {
// Found the start of our group. Now search for the end
if(rows[i].className === 'groupheader') {
- group_end = i - 1;
+ group_end = i;
break;
}
}