From e96094c81a5640b9a00e4dc94af16e7b082e204d Mon Sep 17 00:00:00 2001 From: jsatoh Date: Thu, 14 Oct 2010 03:24:05 +0000 Subject: [PATCH] 2010-10-14 Junichi Satoh * godmode/massive/massive_enable_disable_alerts.php, godmode/massive/massive_standby_alerts.php: Fixed alert listing is not affected by group selection. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ .../godmode/massive/massive_enable_disable_alerts.php | 4 ++-- pandora_console/godmode/massive/massive_standby_alerts.php | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 9c452309e4..49eff3e7ca 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2010-10-14 Junichi Satoh + + * godmode/massive/massive_enable_disable_alerts.php, + godmode/massive/massive_standby_alerts.php: Fixed alert listing is not + affected by group selection. + 2010-10-13 Sergio Martin * operation/agentes/ver_agente.php: Fixed a SQL diff --git a/pandora_console/godmode/massive/massive_enable_disable_alerts.php b/pandora_console/godmode/massive/massive_enable_disable_alerts.php index bc9b0e24eb..11e43d5995 100644 --- a/pandora_console/godmode/massive/massive_enable_disable_alerts.php +++ b/pandora_console/godmode/massive/massive_enable_disable_alerts.php @@ -162,7 +162,7 @@ $(document).ready (function () { jQuery.post ("ajax.php", {"page" : "godmode/massive/massive_enable_disable_alerts", "get_alerts" : 1, - "id_group" : this.value, + "id_group" : $("#id_group").attr("value"), "id_alert_template" : $("#id_alert_template").attr("value"), "disabled" : 0 }, @@ -181,7 +181,7 @@ $(document).ready (function () { jQuery.post ("ajax.php", {"page" : "godmode/massive/massive_enable_disable_alerts", "get_alerts" : 1, - "id_group" : this.value, + "id_group" : $("#id_group").attr("value"), "id_alert_template" : $("#id_alert_template").attr("value"), "disabled" : 1 }, diff --git a/pandora_console/godmode/massive/massive_standby_alerts.php b/pandora_console/godmode/massive/massive_standby_alerts.php index eb2c844ffd..189d03026a 100644 --- a/pandora_console/godmode/massive/massive_standby_alerts.php +++ b/pandora_console/godmode/massive/massive_standby_alerts.php @@ -162,7 +162,7 @@ $(document).ready (function () { jQuery.post ("ajax.php", {"page" : "godmode/massive/massive_standby_alerts", "get_alerts" : 1, - "id_group" : this.value, + "id_group" : $("#id_group").attr("value"), "id_alert_template" : $("#id_alert_template").attr("value"), "standby" : 0 }, @@ -181,7 +181,7 @@ $(document).ready (function () { jQuery.post ("ajax.php", {"page" : "godmode/massive/massive_standby_alerts", "get_alerts" : 1, - "id_group" : this.value, + "id_group" : $("#id_group").attr("value"), "id_alert_template" : $("#id_alert_template").attr("value"), "standby" : 1 },