From 8679dc8a943e3a8d450a1b2841fd645bd4f42ee9 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 18 Oct 2016 17:34:18 +0000 Subject: [PATCH] Import/SyncruleController: autorefresh --- application/controllers/ImportsourceController.php | 1 + application/controllers/SyncruleController.php | 1 + 2 files changed, 2 insertions(+) diff --git a/application/controllers/ImportsourceController.php b/application/controllers/ImportsourceController.php index 5892c4da..1a3cfaf9 100644 --- a/application/controllers/ImportsourceController.php +++ b/application/controllers/ImportsourceController.php @@ -13,6 +13,7 @@ class ImportsourceController extends ActionController { public function indexAction() { + $this->setAutoRefreshInterval(10); $id = $this->params->get('id'); $this->prepareTabs($id)->activate('show'); $source = $this->view->source = ImportSource::load($id, $this->db()); diff --git a/application/controllers/SyncruleController.php b/application/controllers/SyncruleController.php index 52201209..ae239f8c 100644 --- a/application/controllers/SyncruleController.php +++ b/application/controllers/SyncruleController.php @@ -14,6 +14,7 @@ class SyncruleController extends ActionController { public function indexAction() { + $this->setAutoRefreshInterval(10); $id = $this->params->get('id'); $this->prepareRuleTabs($id)->activate('show'); $rule = $this->view->rule = SyncRule::load($id, $this->db());