diff --git a/pandora_console/godmode/alerts/configure_alert_action.php b/pandora_console/godmode/alerts/configure_alert_action.php index 990653f19f..3e744c712b 100644 --- a/pandora_console/godmode/alerts/configure_alert_action.php +++ b/pandora_console/godmode/alerts/configure_alert_action.php @@ -334,12 +334,14 @@ $(document).ready (function () { } } else { - $("[name=field" + i + "_value]") - .val($("[name=field" + i + "_value]") - .val()); - $("[name=field" + i + "_recovery_value]") - .val($("[name=field" + i + "_recovery_value]") - .val()); + if ($("[name=field" + i + "_value]").val() != 'text/plain') { + $("[name=field" + i + "_value]") + .val($("[name=field" + i + "_value]") + .val()); + $("[name=field" + i + "_recovery_value]") + .val($("[name=field" + i + "_recovery_value]") + .val()); + } } // Add help hint only in first field if (i == 1) {