summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/macros.html
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-04-05 16:52:05 +0200
committerJavier Sánchez Parra <jsanchez@soleta.eu>2022-04-08 08:03:10 +0200
commit4c9c3b48db02bcc27a89da694cd9ef5aad1c14c5 (patch)
treeddff644cc25d5363d4a92d90cff7280020710afc /ogcp/templates/macros.html
parent1120b31e3838f3c7806df83cdeaab6a02b95eca6 (diff)
Add indeterminate checkboxes to scopes tree
Each checkbox may have child checkboxes. If all those children are checked, it be checked. If none are checked, it is unchecked. If some of them are checked, then it’s in an indeterminate state (in this case symbolically meaning “partially” checked).
Diffstat (limited to 'ogcp/templates/macros.html')
-rw-r--r--ogcp/templates/macros.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/ogcp/templates/macros.html b/ogcp/templates/macros.html
index 6f19a30..ba500b3 100644
--- a/ogcp/templates/macros.html
+++ b/ogcp/templates/macros.html
@@ -13,6 +13,7 @@
keepScopesTreeState();
keepSelectedClients();
checkChildrenCheckboxes();
+ checkParentsCheckboxes();
}
});
</script>