Skip to content

Commit

Permalink
pass object to onRowUpdate callback
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Křehlík committed Feb 20, 2023
1 parent 3bb34eb commit 5db80ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controls/AdminGrid.php
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ public function addButtonSaveAll(
}

if ($onRowUpdate) {
$onRowUpdate($id, $data);
$onRowUpdate($id, $data, $object);
}

$this->onUpdateRow($id, $data);
Expand Down

0 comments on commit 5db80ba

Please sign in to comment.