From 5d9780e8d80df941000230a7ba3e2d9e96f44756 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Thu, 13 Jun 2024 13:07:49 +0200 Subject: js: allow selection of multiple clients in scopes sidebar Allow the selection of multiple client checkboxes if they belong to the same room. Each checkbox input in the DOM has a "data-parent-room" attribute whose value is the value of the "name" attribute of its parent room scope component. To check if a checkbox is a client and a sibling of the one being checked we check if "data-parent-room" is available for both nodes and if they have the same value. --- ogcp/templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ogcp/templates') diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html index 30dc3bb..22fe086 100644 --- a/ogcp/templates/base.html +++ b/ogcp/templates/base.html @@ -111,7 +111,7 @@ - +