From 630e2f4ecc669ec7927a8affc051243112a28214 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 2 Dec 2015 04:39:49 +0100 Subject: [PATCH] syncrule/property: stay on list on edit --- application/controllers/SyncruleController.php | 2 ++ application/views/scripts/list/table.phtml | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/application/controllers/SyncruleController.php b/application/controllers/SyncruleController.php index a63555f1..9dc9adf4 100644 --- a/application/controllers/SyncruleController.php +++ b/application/controllers/SyncruleController.php @@ -71,6 +71,7 @@ class SyncruleController extends ActionController public function propertyAction() { + $this->view->stayHere = true; $id = $this->params->get('rule_id'); $this->view->addLink = $this->view->qlink( @@ -100,6 +101,7 @@ class SyncruleController extends ActionController public function addpropertyAction() { + $this->view->stayHere = true; $edit = false; if ($id = $this->params->get('id')) { diff --git a/application/views/scripts/list/table.phtml b/application/views/scripts/list/table.phtml index 4fd4123b..e444b7ab 100644 --- a/application/views/scripts/list/table.phtml +++ b/application/views/scripts/list/table.phtml @@ -1,13 +1,14 @@
tabs ?>

escape($this->title) ?>

- +stayHere): ?> data-base-target="_next"> addLink ?> -
-filterEditor ?>
+ +filterEditor ?> table->getPaginator() ?>
-
+
stayHere): ?> data-base-target="_next"> +form ?> table->render() ?>