mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Changed $title parameter to HtmlEditorField constructor to null to be consistent with TextareaField and so title is derived based on the name of the field if no title is given.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@70647 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
c6a6c3d25c
commit
7f9e91d2b5
@ -15,7 +15,7 @@ class HtmlEditorField extends TextareaField {
|
|||||||
/**
|
/**
|
||||||
* Construct a new HtmlEditor field
|
* Construct a new HtmlEditor field
|
||||||
*/
|
*/
|
||||||
function __construct($name, $title = "", $rows = 20, $cols = 20, $value = "", $form = null) {
|
function __construct($name, $title = null, $rows = 20, $cols = 20, $value = "", $form = null) {
|
||||||
parent::__construct($name, $title, $rows, $cols, $value, $form);
|
parent::__construct($name, $title, $rows, $cols, $value, $form);
|
||||||
$this->extraClass = 'typography';
|
$this->extraClass = 'typography';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user