BUGFIX: Fix GridField::Field()

This commit is contained in:
Sam Minnee 2012-03-08 19:11:51 +13:00
parent e4a6dd5850
commit c80e86f430

View File

@ -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()));