mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
BUGFIX: Use a plain text field, as HTMLEditorFields have issues in
popups
This commit is contained in:
parent
624a93f19b
commit
34dd5bf86f
@ -543,7 +543,7 @@ class UserDefinedForm_EmailRecipient extends DataObject {
|
|||||||
'EmailAddress' => 'Varchar(200)',
|
'EmailAddress' => 'Varchar(200)',
|
||||||
'EmailSubject' => 'Varchar(200)',
|
'EmailSubject' => 'Varchar(200)',
|
||||||
'EmailFrom' => 'Varchar(200)',
|
'EmailFrom' => 'Varchar(200)',
|
||||||
'EmailBody' => 'HTMLText',
|
'EmailBody' => 'Text',
|
||||||
'SendPlain' => 'Boolean'
|
'SendPlain' => 'Boolean'
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -572,7 +572,7 @@ class UserDefinedForm_EmailRecipient extends DataObject {
|
|||||||
$fields->push(new DropdownField('SendEmailFromFieldID', _t('UserDefinedForm.SENDEMAILINSTEAD', 'Send Email Instead To'),$validEmailFields, '', null, 'Use Fixed Email'));
|
$fields->push(new DropdownField('SendEmailFromFieldID', _t('UserDefinedForm.SENDEMAILINSTEAD', 'Send Email Instead To'),$validEmailFields, '', null, 'Use Fixed Email'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$fields->push(new HTMLEditorField('EmailBody', 'Body'));
|
$fields->push(new TextareaField('EmailBody', 'Body'));
|
||||||
return $fields;
|
return $fields;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user