From 5eead8f182ae152366e46fb7dd740f81e5ca3a1b Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Tue, 20 Jan 2015 12:10:06 +0100 Subject: [PATCH] Fixed problem with preview command in 'Configure alert action' --- pandora_console/include/javascript/pandora_alerts.js | 1 + 1 file changed, 1 insertion(+) 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 + '_';