Updated HtmlEditorField Field()

I had a need to use onBeforeRender on a DataExtension of
HtmlEditorField and noticed it wasn't there. Added return
parent::Field($properties) use FormField::Field which utilizes
onBeforeRender.
This commit is contained in:
Tyler Kidd 2014-07-03 08:54:37 -05:00
parent e1da0867d0
commit 16f5ef147e

View File

@ -90,9 +90,8 @@ class HtmlEditorField extends TextareaField {
}
$properties['Value'] = htmlentities($value->getContent(), ENT_COMPAT, 'UTF-8');
$obj = $this->customise($properties);
return $obj->renderWith($this->getTemplates());
return parent::Field($properties);
}
public function getAttributes() {