Merge branch 'ent-10258-bug-en-edicion-de-accion-mail-to-admin' into 'develop'
Ent 10258 bug en edicion de accion mail to admin See merge request artica/pandorafms!5680
This commit is contained in:
commit
310496f135
|
@ -227,7 +227,7 @@ if (is_ajax()) {
|
|||
'field'.$i.'_value',
|
||||
'text/plain',
|
||||
'',
|
||||
$content_type == 'text/plain',
|
||||
'',
|
||||
$is_management_allowed,
|
||||
'',
|
||||
'',
|
||||
|
@ -239,7 +239,7 @@ if (is_ajax()) {
|
|||
'field'.$i.'_value',
|
||||
'text/html',
|
||||
'',
|
||||
$content_type == 'text/html',
|
||||
'text/html',
|
||||
$is_management_allowed,
|
||||
'',
|
||||
'',
|
||||
|
|
|
@ -712,7 +712,6 @@ $(document).ready (function () {
|
|||
old_recovery_value =
|
||||
$("[name=field" + i + "_recovery_value]").val();
|
||||
}
|
||||
|
||||
// Replace the old column with the new
|
||||
$table_macros_field.replaceWith(field_row);
|
||||
if (old_value != '' || old_recovery_value != '') {
|
||||
|
@ -720,12 +719,14 @@ $(document).ready (function () {
|
|||
if (inputType == 'radio') {
|
||||
if(old_value == 'text/plain'){
|
||||
if ($("[name=field" + i + "_value]").val() == 'text/plain') {
|
||||
$("[name=field" + i + "_value]").attr('checked','checked');
|
||||
$("[name=field" + i + "_value][value='text/plain']").attr('checked','checked');
|
||||
$("[name=field" + i + "_value][value='text/html']").removeAttr("checked")
|
||||
}
|
||||
}
|
||||
else{
|
||||
if($("[name=field" + i + "_value]").val() == 'text/html') {
|
||||
$("[name=field" + i + "_value]").attr('checked','checked');
|
||||
$("[name=field" + i + "_value]").val()
|
||||
if ($("[name=field" + i + "_value]").val() == 'text/html') {
|
||||
$("[name=field" + i + "_value][value='text/html']").attr('checked','checked');
|
||||
}
|
||||
}
|
||||
if(old_recovery_value == 'text/plain'){
|
||||
|
|
Loading…
Reference in New Issue