Fixed text/html option in alert action

This commit is contained in:
danielmaya 2018-01-15 11:04:53 +01:00
parent ae23342184
commit 3a3de49802
1 changed files with 8 additions and 6 deletions

View File

@ -334,6 +334,7 @@ $(document).ready (function () {
}
}
else {
if ($("[name=field" + i + "_value]").val() != 'text/plain') {
$("[name=field" + i + "_value]")
.val($("[name=field" + i + "_value]")
.val());
@ -341,6 +342,7 @@ $(document).ready (function () {
.val($("[name=field" + i + "_recovery_value]")
.val());
}
}
// Add help hint only in first field
if (i == 1) {
var td_content = $table_macros_field.find('td').eq(0);