summaryrefslogtreecommitdiffstats
path: root/ogcp
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
parent66b663e0511b958041975568574afb3764d5a951 (diff)
js: fix sidebar client selectionv1.1.3-33
Fix the JQuery selector to properly filter checboxes in the sidebar
Diffstat (limited to 'ogcp')
-rw-r--r--ogcp/static/js/ogcp.js2
-rw-r--r--ogcp/templates/base.html2
2 files changed, 2 insertions, 2 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) {
diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html
index 5aa84c6..2bdadfc 100644
--- a/ogcp/templates/base.html
+++ b/ogcp/templates/base.html
@@ -111,7 +111,7 @@
<!-- ChartJS -->
<script src="{{ url_for('static', filename='AdminLTE/plugins/chart.js/Chart.min.js') }}"></script>
- <script src="{{ url_for('static', filename='js/ogcp.js') }}?v=24"></script>
+ <script src="{{ url_for('static', filename='js/ogcp.js') }}?v=25"></script>
<script>
// error messages