mirror of https://git.48k.eu/ogcp
js: fix sidebar client selection
Fix the JQuery selector to properly filter checboxes in the sidebarmaster v1.1.3-33
parent
66b663e051
commit
270089983a
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue