mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge branch '5.13' into 5.14
This commit is contained in:
commit
58583ded8d
@ -161,7 +161,7 @@ class EditableLiteralField extends EditableFormField
|
|||||||
parent::updateFormField($field);
|
parent::updateFormField($field);
|
||||||
|
|
||||||
if ($this->HideLabel) {
|
if ($this->HideLabel) {
|
||||||
$this->ExtraClass .= ' nolabel';
|
$field->addExtraClass('nolabel');
|
||||||
} else {
|
} else {
|
||||||
$field->setTitle($this->Title);
|
$field->setTitle($this->Title);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user