From b29f7eb1606ba4ec51081384570413d2d1460bcc Mon Sep 17 00:00:00 2001 From: Calvo Date: Fri, 30 Sep 2022 14:54:16 +0200 Subject: [PATCH] Fix planned downtime issues --- .../agentes/planned_downtime.editor.php | 100 ++++++++++++------ .../godmode/agentes/planned_downtime.list.php | 41 ++++++- pandora_console/include/javascript/pandora.js | 13 ++- .../operation/agentes/ver_agente.php | 9 +- 4 files changed, 125 insertions(+), 38 deletions(-) diff --git a/pandora_console/godmode/agentes/planned_downtime.editor.php b/pandora_console/godmode/agentes/planned_downtime.editor.php index cec18a21ca..cdd5152bd0 100644 --- a/pandora_console/godmode/agentes/planned_downtime.editor.php +++ b/pandora_console/godmode/agentes/planned_downtime.editor.php @@ -1104,11 +1104,7 @@ $table->data[1][0] = __('Available agents'); $table->data[1][1] = html_print_select($agents, 'id_agents[]', -1, '', _('Any'), -2, true, true, true, '', false, 'min-width: 250px;width: 70%;'); -if ($type_downtime != 'quiet') { - echo '