Skip to content

Commit

Permalink
Merge pull request #4031 from dhensby/pulls/detail-form-item-callback…
Browse files Browse the repository at this point in the history
…-fix

FIX GridFieldDetailForm::setItemEditFormCalback broke chaining
  • Loading branch information
kinglozzer committed Mar 23, 2015
2 parents 06ccac1 + aba0b70 commit ed4db4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions forms/gridfield/GridFieldDetailForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ public function getItemRequestClass() {
*/
public function setItemEditFormCallback(Closure $cb) {
$this->itemEditFormCallback = $cb;
return $this;
}

/**
Expand Down

0 comments on commit ed4db4f

Please sign in to comment.