BUGFIX: Use a plain text field, as HTMLEditorFields have issues in

popups
This commit is contained in:
Andrew O'Neil 2009-06-16 03:13:49 +00:00
parent 624a93f19b
commit 34dd5bf86f

View File

@ -543,7 +543,7 @@ class UserDefinedForm_EmailRecipient extends DataObject {
'EmailAddress' => 'Varchar(200)',
'EmailSubject' => 'Varchar(200)',
'EmailFrom' => 'Varchar(200)',
'EmailBody' => 'HTMLText',
'EmailBody' => 'Text',
'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 HTMLEditorField('EmailBody', 'Body'));
$fields->push(new TextareaField('EmailBody', 'Body'));
return $fields;
}
}