From 73db9c70885e3ed432bd76e7f9b03614ddc4953b Mon Sep 17 00:00:00 2001 From: "alejandro.campos@artica.es" Date: Thu, 9 Feb 2023 17:15:07 +0100 Subject: [PATCH 1/2] fixed error in massive agent operations in metaconsole --- pandora_console/include/javascript/massive_operations.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pandora_console/include/javascript/massive_operations.js b/pandora_console/include/javascript/massive_operations.js index eb874c5310..cf18f52125 100644 --- a/pandora_console/include/javascript/massive_operations.js +++ b/pandora_console/include/javascript/massive_operations.js @@ -110,6 +110,12 @@ function form_controls_massive_operations_agents(metaconsole) { $("#id_group").trigger("change"); }); + if (metaconsole == 1) { + $("#nodes").change(function() { + disabled = $("#disabled").val(); + }); + } + var nodes; $("#nodes").change(function() { nodes = $("#nodes").val(); From 5cbd9114d9e4baa4b4ec7f35c7155adfb719c7d6 Mon Sep 17 00:00:00 2001 From: "alejandro.campos@artica.es" Date: Mon, 6 Mar 2023 18:18:26 +0100 Subject: [PATCH 2/2] fixed load of agents --- pandora_console/include/javascript/massive_operations.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pandora_console/include/javascript/massive_operations.js b/pandora_console/include/javascript/massive_operations.js index cf18f52125..6a372f703e 100644 --- a/pandora_console/include/javascript/massive_operations.js +++ b/pandora_console/include/javascript/massive_operations.js @@ -114,6 +114,10 @@ function form_controls_massive_operations_agents(metaconsole) { $("#nodes").change(function() { disabled = $("#disabled").val(); }); + + $("#id_group").change(function() { + disabled = $("#disabled").val(); + }); } var nodes;