mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX: Fix GridField::Field()
This commit is contained in:
parent
e4a6dd5850
commit
c80e86f430
@ -391,6 +391,10 @@ class GridField extends FormField {
|
||||
implode("\n", $content['after'])
|
||||
);
|
||||
}
|
||||
|
||||
public function Field() {
|
||||
return $this->FieldHolder();
|
||||
}
|
||||
|
||||
public function getAttributes() {
|
||||
return array_merge(parent::getAttributes(), array('data-url' => $this->Link()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user