mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
Merge pull request #1271 from tractorcow/pulls/4.0/dropdown-cleanup
API Use new formfields
This commit is contained in:
commit
e77cfb5143
@ -2082,7 +2082,6 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
|
||||
_t('SiteTree.ACCESSHEADER', "Who can view this page?")
|
||||
),
|
||||
$viewerGroupsField = ListboxField::create("ViewerGroups", _t('SiteTree.VIEWERGROUPS', "Viewer Groups"))
|
||||
->setMultiple(true)
|
||||
->setSource($groupsMap)
|
||||
->setAttribute(
|
||||
'data-placeholder',
|
||||
@ -2093,7 +2092,6 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
|
||||
_t('SiteTree.EDITHEADER', "Who can edit this page?")
|
||||
),
|
||||
$editorGroupsField = ListboxField::create("EditorGroups", _t('SiteTree.EDITORGROUPS', "Editor Groups"))
|
||||
->setMultiple(true)
|
||||
->setSource($groupsMap)
|
||||
->setAttribute(
|
||||
'data-placeholder',
|
||||
|
Loading…
x
Reference in New Issue
Block a user