From cca2148e3798fe744bfad06d0935c3c20e83023f Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Mon, 7 Oct 2013 12:45:17 +0000 Subject: [PATCH] 2013-10-07 Miguel de Dios * godmode/massive/massive_delete_alerts.php, godmode/massive/massive_add_alerts.php: fixed the get agents in the groups with subgroups and enabled "Group recursion". Fixes: #2393 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8864 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 8 ++++++++ pandora_console/godmode/massive/massive_add_alerts.php | 2 +- pandora_console/godmode/massive/massive_delete_alerts.php | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 9432c0ebdf..4a8e7747ef 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2013-10-07 Miguel de Dios + + * godmode/massive/massive_delete_alerts.php, + godmode/massive/massive_add_alerts.php: fixed the get agents in + the groups with subgroups and enabled "Group recursion". + + Fixes: #2393 + 2013-10-07 Miguel de Dios * godmode/agentes/modificar_agente.php: fixed the align of bottom diff --git a/pandora_console/godmode/massive/massive_add_alerts.php b/pandora_console/godmode/massive/massive_add_alerts.php index f1b2a694e4..2b94fadb6c 100644 --- a/pandora_console/godmode/massive/massive_add_alerts.php +++ b/pandora_console/godmode/massive/massive_add_alerts.php @@ -183,7 +183,7 @@ $(document).ready (function () { {"page" : "godmode/massive/massive_add_alerts", "get_agents" : 1, "id_group" : this.value, - "recursion" : $("#checkbox-recursion").attr("checked") ? 1 : 0 + "recursion" : $("#checkbox-recursion").is(":checked") ? 1 : 0 }, function (data, status) { options = ""; diff --git a/pandora_console/godmode/massive/massive_delete_alerts.php b/pandora_console/godmode/massive/massive_delete_alerts.php index a80497baa5..d5c7fb8f34 100644 --- a/pandora_console/godmode/massive/massive_delete_alerts.php +++ b/pandora_console/godmode/massive/massive_delete_alerts.php @@ -251,7 +251,7 @@ $(document).ready (function () { {"page" : "godmode/massive/massive_delete_alerts", "get_agents" : 1, "id_group" : this.value, - "recursion" : $("#checkbox-recursion").attr ("checked") ? 1 : 0, + "recursion" : $("#checkbox-recursion").is(":checked") ? 1 : 0, "id_alert_template" : $("#id_alert_template").val() }, function (data, status) {