diff --git a/pandora_console/include/javascript/pandora_alerts.js b/pandora_console/include/javascript/pandora_alerts.js index ea84156dff..e9b7c64727 100644 --- a/pandora_console/include/javascript/pandora_alerts.js +++ b/pandora_console/include/javascript/pandora_alerts.js @@ -12,6 +12,7 @@ function parse_alert_command (command, classs) { $('.' + classs).each(function() { // Only render values different from '' if ($(this).val() == '') { + nfield++; return; } var field = '_field' + nfield + '_';