summaryrefslogtreecommitdiffstats
path: root/ogcp/static/js
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/static/js')
-rw-r--r--ogcp/static/js/ogcp.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/ogcp/static/js/ogcp.js b/ogcp/static/js/ogcp.js
index 8678759..bdd7581 100644
--- a/ogcp/static/js/ogcp.js
+++ b/ogcp/static/js/ogcp.js
@@ -64,6 +64,12 @@ function checkParentsCheckboxes() {
if (checkboxChildren.length == 0) return;
+ if (this.name == "scope-server") {
+ const checkedChildren = checkboxChildren.filter(":checked");
+ checkbox.checked = checkedChildren.length > 0;
+ return;
+ }
+
const unCheckedChildren = checkboxChildren.filter(":not(:checked)");
checkbox.indeterminate =