Merge pull request #4031 from dhensby/pulls/detail-form-item-callback-fix

FIX GridFieldDetailForm::setItemEditFormCalback broke chaining
This commit is contained in:
Loz Calver 2015-03-23 16:42:23 +00:00
commit ed4db4f135

View File

@ -188,6 +188,7 @@ class GridFieldDetailForm implements GridField_URLHandler {
*/
public function setItemEditFormCallback(Closure $cb) {
$this->itemEditFormCallback = $cb;
return $this;
}
/**