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

@ -392,6 +392,10 @@ class GridField extends FormField {
);
}
public function Field() {
return $this->FieldHolder();
}
public function getAttributes() {
return array_merge(parent::getAttributes(), array('data-url' => $this->Link()));
}