MINOR Using FieldList instead of FieldSet on SelectionGroup to comply with parent implementation

This commit is contained in:
Ingo Schommer 2011-12-22 12:38:51 +01:00
parent 475f3764c3
commit 639caea949

View File

@ -46,9 +46,13 @@ class SelectionGroup extends CompositeField {
$clone->setReadonly(true);
return $clone;
}
function FieldSet() {
$items = parent::FieldSet()->toArray();
return $this->FieldList();
}
function FieldList() {
$items = parent::FieldList()->toArray();
$count = 0;
$firstSelected = $checked ="";