From 270089983abfaf6c7f98c16512c74c7f6093abb1 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Fri, 11 Oct 2024 13:19:57 +0200 Subject: js: fix sidebar client selection Fix the JQuery selector to properly filter checboxes in the sidebar --- ogcp/static/js/ogcp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ogcp/static/js') 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) { -- cgit v1.2.3-18-g5258