From 34dd5bf86f73713edece5377b4cb2d5598d06245 Mon Sep 17 00:00:00 2001 From: Andrew O'Neil Date: Tue, 16 Jun 2009 03:13:49 +0000 Subject: [PATCH] BUGFIX: Use a plain text field, as HTMLEditorFields have issues in popups --- code/UserDefinedForm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/UserDefinedForm.php b/code/UserDefinedForm.php index 60240db..687bf2b 100755 --- a/code/UserDefinedForm.php +++ b/code/UserDefinedForm.php @@ -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; } }