Added warning

This commit is contained in:
Daniel Maya 2021-01-19 16:03:34 +01:00
parent 548f960b83
commit adf4c988ec
1 changed files with 5 additions and 1 deletions

View File

@ -1422,7 +1422,11 @@ if ($step == 2) {
case "unknown":
$("#template-value, #template-max, span#matches_value, #template-min").hide ();
$("#template-example").show ();
if ($("#text-min_alerts").val() > 0 ) {
unknown = <?php echo "'".__('The alert would fire when the module is in unknown status. Warning: unknown_updates of pandora_server.conf must be equal to 1')."'"; ?>;
}
/* Show example */
$("span#example").empty ().append (unknown);
break;