Merge branch '5.1'

This commit is contained in:
Daniel Hensby 2018-05-09 14:06:12 +01:00
commit bf086806dc
No known key found for this signature in database
GPG Key ID: D8DEBC4C8E7BC8B9
2 changed files with 2 additions and 1 deletions

View File

@ -54,6 +54,7 @@ class EditableMemberListField extends EditableFormField
} }
$members = Member::map_in_groups($this->GroupID); $members = Member::map_in_groups($this->GroupID);
$field = DropdownField::create($this->Name, $this->Title ?: false, $members) $field = DropdownField::create($this->Name, $this->Title ?: false, $members)
->setTemplate(EditableDropdown::class) ->setTemplate(EditableDropdown::class)
->setFieldHolderTemplate(EditableFormField::class . '_holder'); ->setFieldHolderTemplate(EditableFormField::class . '_holder');

View File

@ -196,7 +196,7 @@ trait UserForm
$editor = HTMLEditorField::create( $editor = HTMLEditorField::create(
'OnCompleteMessage', 'OnCompleteMessage',
'', '',
_t(__CLASS__.'.ONCOMPLETEMESSAGE', $this->OnCompleteMessage) $this->OnCompleteMessage
) )
); );