diff --git a/pandora_console/godmode/alerts/alert_list.builder.php b/pandora_console/godmode/alerts/alert_list.builder.php index 5092d9b5f0..4458918b1a 100644 --- a/pandora_console/godmode/alerts/alert_list.builder.php +++ b/pandora_console/godmode/alerts/alert_list.builder.php @@ -139,20 +139,18 @@ if (check_acl ($config['id_user'], 0, "LM")) { $table->data[3][1] .= ' ' . __('seconds') . ui_print_help_icon ('action_threshold', true); -if (!isset($step) || $step!=5) { +if (!isset($step)) { echo '
'; html_print_table ($table); } echo '
'; -if (!isset($step) || $step!=5) { +if (!isset($step)) { if($id_cluster){ echo ""; } - - html_print_submit_button (__('Add alert'), 'add', false, 'class="sub wand"'); html_print_input_hidden ('create_alert', 1); echo '
'; @@ -225,7 +223,7 @@ $(document).ready (function () { $("#value", $value).append (""); } else { - $("#value", $value).append (parseInt(data)); + $("#value", $value).append (data); } $loading.hide (); $value.show ();