Merge pull request #78 from mattclegg/master

Include requirements for fields
This commit is contained in:
Marcus 2015-01-03 17:06:35 +11:00
commit 9ff5de80d4
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
SilverStripe Grid Field Extensions Module
=========================================
[![Build Status](https://secure.travis-ci.org/ajshort/silverstripe-gridfieldextensions.png?branch=master)](https://travis-ci.org/ajshort/silverstripe-gridfieldextensions)
[![Build Status](https://secure.travis-ci.org/silverstripe-australia/silverstripe-gridfieldextensions.png?branch=master)](https://travis-ci.org/silverstripe-australia/silverstripe-gridfieldextensions)
This module provides a number of useful grid field components:

View File

@ -46,7 +46,7 @@ class GridFieldEditableColumns extends GridFieldDataColumns implements
$field->setName($this->getFieldName($field->getName(), $grid, $record));
$field->setValue($value);
return $field->Field();
return $field->forTemplate();
}
public function getHTMLFragments($grid) {