Skip to content

Commit

Permalink
revert always trigger on reload
Browse files Browse the repository at this point in the history
  • Loading branch information
ibelar committed Aug 4, 2021
1 parent aefcf6e commit 14bc444
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function terminateJson(AbstractView $view): void
*/
public function isTriggered(): bool
{
return isset($_GET[self::URL_QUERY_TRIGGER_PREFIX . $this->urlTrigger]) || isset($_GET['__atk_reload']);
return isset($_GET[self::URL_QUERY_TRIGGER_PREFIX . $this->urlTrigger]);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/UserAction/BasicExecutor.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class BasicExecutor extends \Atk4\Ui\View implements ExecutorInterface
public $disableMsg = 'Action is disabled and cannot be executed';

/**
* @var Button|array Button that trigger the action. Either as an array seed or object
* @var Button|array Button that trigger the action. Either as an array seed or object
*/
public $executorButton;

Expand Down

0 comments on commit 14bc444

Please sign in to comment.