js: fix sidebar client selection

Fix the JQuery selector to properly filter checboxes in the sidebar
master v1.1.3-33
Alejandro Sirgo Rica 2024-10-11 13:19:57 +02:00
parent 66b663e051
commit 270089983a
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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