From dc8759d2b90b47b7009a74f69348560777c088c9 Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Wed, 2 Mar 2022 15:52:48 +0100 Subject: Narrow client removal to scopes and commands pages Otherwise, undesired removal of selected clients pills occurs. --- ogcp/static/js/ogcp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ogcp/static/js/ogcp.js b/ogcp/static/js/ogcp.js index c5c1c62..7cfa59d 100644 --- a/ogcp/static/js/ogcp.js +++ b/ogcp/static/js/ogcp.js @@ -14,7 +14,7 @@ function showSelectedClient(client_checkbox) { return; } - $('#' + pill_id).remove(); + $('#' + pill_id, container).remove(); } function showSelectedClientsOnEvents() { -- cgit v1.2.3-18-g5258