summaryrefslogtreecommitdiffstats
path: root/ogcp/static
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-10-11 13:19:57 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-10-11 13:19:57 +0200
commit270089983abfaf6c7f98c16512c74c7f6093abb1 (patch)
tree7fe3c4eab18a0f82f25e7a2ec67bb6c23d783abd /ogcp/static
parent66b663e0511b958041975568574afb3764d5a951 (diff)
js: fix sidebar client selectionHEADv1.1.3-33master
Fix the JQuery selector to properly filter checboxes in the sidebar
Diffstat (limited to 'ogcp/static')
-rw-r--r--ogcp/static/js/ogcp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/static/js/ogcp.js b/ogcp/static/js/ogcp.js
index 943fccf..05855fc 100644
--- a/ogcp/static/js/ogcp.js
+++ b/ogcp/static/js/ogcp.js
@@ -161,7 +161,7 @@ function configureCommandCheckboxes(context) {
checkboxes.on('change', function () {
const checked = this.checked;
- const childrenCheckboxes = $('#sidebar input:checkbox', this.parentNode);
+ const childrenCheckboxes = $('input[type="checkbox"][form="scopesForm"]', this.parentNode);
// Uncheck all other checkboxes outside of the actual center branch
if (checked) {