syncrule/property: stay on list on edit
This commit is contained in:
parent
9d25418573
commit
630e2f4ecc
|
@ -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')) {
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
<h1><?= $this->escape($this->title) ?></h1>
|
||||
<span data-base-target="_next">
|
||||
<span<?php if (! $this->stayHere): ?> data-base-target="_next"<?php endif ?>>
|
||||
<?= $this->addLink ?>
|
||||
</span><br />
|
||||
<?= $this->filterEditor ?><br />
|
||||
</span>
|
||||
<?= $this->filterEditor ?>
|
||||
<?= $this->table->getPaginator() ?>
|
||||
</div>
|
||||
|
||||
<div class="content" data-base-target="_next">
|
||||
<div class="content"<?php if (! $this->stayHere): ?> data-base-target="_next"<?php endif ?>>
|
||||
<?= $this->form ?>
|
||||
<?= $this->table->render() ?>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue