Skip to content

Commit

Permalink
BUGFIX: Fix GridField::Field()
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Minnee committed Mar 8, 2012
1 parent e4a6dd5 commit c80e86f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions forms/gridfield/GridField.php
Expand Up @@ -391,6 +391,10 @@ public function FieldHolder() {
implode("\n", $content['after'])
);
}

public function Field() {
return $this->FieldHolder();
}

public function getAttributes() {
return array_merge(parent::getAttributes(), array('data-url' => $this->Link()));
Expand Down

0 comments on commit c80e86f

Please sign in to comment.