From 5d2d82059bbe6956d185cf888d9a43540d85f6fc Mon Sep 17 00:00:00 2001 From: SourceDoctor Date: Thu, 13 Feb 2020 22:10:40 +0100 Subject: [PATCH] Alert Rule default update (#11143) --- includes/html/modal/new_alert_rule.inc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/html/modal/new_alert_rule.inc.php b/includes/html/modal/new_alert_rule.inc.php index 0e901a7596..bee9792a24 100644 --- a/includes/html/modal/new_alert_rule.inc.php +++ b/includes/html/modal/new_alert_rule.inc.php @@ -298,10 +298,11 @@ if (Auth::user()->hasGlobalAdmin()) { $("#override_query").bootstrapSwitch('state', false); $("#invert_map").bootstrapSwitch('state', false); $(this).find("input[type=text]").val(""); - $('#count').val('-1'); + $('#count').val('1'); $('#delay').val('1m'); $('#interval').val('5m'); $('#adv_query').val(''); + $('#severity').val('warning'); var $maps = $('#maps'); $maps.empty(); @@ -392,7 +393,7 @@ if (Auth::user()->hasGlobalAdmin()) { $("[name='override_query']").bootstrapSwitch('state', extra.options.override_query); } else { - $('#count').val('-1'); + $('#count').val('1'); } }