Skip to content

Commit

Permalink
callback always trigger on reload
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Sep 30, 2021
1 parent ee4770c commit df180ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function terminateJson(AbstractView $view): void
*/
public function isTriggered(): bool
{
return isset($_GET[self::URL_QUERY_TRIGGER_PREFIX . $this->urlTrigger]);
return isset($_GET[self::URL_QUERY_TRIGGER_PREFIX . $this->urlTrigger]) || isset($_GET['__atk_reload']);
}

/**
Expand Down

0 comments on commit df180ef

Please sign in to comment.