diff --git a/application/controllers/ReportController.php b/application/controllers/ReportController.php index de74470..09c5873 100644 --- a/application/controllers/ReportController.php +++ b/application/controllers/ReportController.php @@ -49,7 +49,6 @@ public function init() public function indexAction() { - $this->getTabs()->getAttributes()->set('data-base-target', '_main'); $this->addTitleTab($this->report->getName()); $this->controls->getAttributes()->add('class', 'default-layout'); diff --git a/application/controllers/ReportsController.php b/application/controllers/ReportsController.php index ff7d54e..a426bde 100644 --- a/application/controllers/ReportsController.php +++ b/application/controllers/ReportsController.php @@ -24,6 +24,7 @@ class ReportsController extends Controller public function indexAction() { $this->createTabs()->activate('reports'); + $this->getTabs()->getAttributes()->set('data-base-target', '_main'); if ($this->hasPermission('reporting/reports')) { $this->addControl(new ButtonLink(