From 3daf46097de0073718713902ab97d206901bd353 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 4 Mar 2014 13:22:39 +0000 Subject: [PATCH] Less hacky dashboard activation --- application/controllers/DashboardController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/controllers/DashboardController.php b/application/controllers/DashboardController.php index 5d175388f..444e4b4e7 100644 --- a/application/controllers/DashboardController.php +++ b/application/controllers/DashboardController.php @@ -123,9 +123,8 @@ class DashboardController extends ActionController if ($this->_getParam('pane')) { $pane = $this->_getParam('pane'); $dashboard->activate($pane); - } else { - $dashboard->determineActivePane(); } + $this->view->title = $dashboard->getActivePane()->getTitle() . ' :: Dashboard'; $this->view->tabs = $dashboard->getTabs(); $this->view->tabs->add( 'Add',