Skip to content

Commit

Permalink
redrawControl: fixed reverting of redraw
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Feb 20, 2018
1 parent d7ac3a8 commit ef541bf
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 @@ -311,7 +311,7 @@ public function redrawControl($snippet = null, $redraw = true)
{
parent::redrawControl($snippet, $redraw);
if ($snippet === null || $snippet === 'rows') {
$this->sendOnlyRowParentSnippet = true;
$this->sendOnlyRowParentSnippet = $redraw;
}
}

Expand Down

0 comments on commit ef541bf

Please sign in to comment.