diff --git a/Classes/Controller/ActionController.php b/Classes/Controller/ActionController.php index c8b75f6..4671417 100644 --- a/Classes/Controller/ActionController.php +++ b/Classes/Controller/ActionController.php @@ -99,6 +99,11 @@ class ActionController extends BaseController */ protected $redirect = null; + /** + * if to reload + */ + protected $reload = null; + /** * errors */ @@ -720,6 +725,9 @@ class ActionController extends BaseController if ($this->redirect) { $result['redirect'] = $this->redirect; } + if ($this->reload) { + $result['reload'] = true; + } return json_encode($result); } $result = array_merge(