Skip to content

Commit

Permalink
Merge pull request nextras#58 from ViPErCZ/2.4fix-3
Browse files Browse the repository at this point in the history
fix for using nette 2.4
  • Loading branch information
hrach authored Jul 19, 2016
2 parents c1c1176 + cc42145 commit df9622e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Datagrid.php
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ public function createComponentForm()
}

$form->onSuccess[] = function() {}; // fix for Nette Framework 2.0.x
$form->onSubmit[] = $this->processForm;
$form->onSubmit[] = [$this, 'processForm'];
return $form;
}

Expand Down

0 comments on commit df9622e

Please sign in to comment.