Skip to content

Commit

Permalink
Revert deleting auto-invalidation
Browse files Browse the repository at this point in the history
  • Loading branch information
miloslavkostir committed Aug 1, 2014
1 parent 1337580 commit 2dd04b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/NiftyGrid/Grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ protected function attached($presenter)
$this->addComponent(New \Nette\ComponentModel\Container(), "actions");
$this->addComponent(New \Nette\ComponentModel\Container(), "subGrids");

if($presenter->isAjax()){
$this->invalidateControl();
}

$this->configure($presenter);

if($this->isSubGrid && !empty($this->afterConfigureSettings)){
Expand Down

0 comments on commit 2dd04b7

Please sign in to comment.