DashboardPane: Consider dashlets when merging

refs #5600
This commit is contained in:
Johannes Meyer 2015-09-07 13:21:31 +02:00
parent bf2cb9ab7e
commit ee43fdad0a
1 changed files with 13 additions and 0 deletions

View File

@ -47,4 +47,17 @@ class DashboardPane extends NavigationItem
{ {
$this->setUrl(Url::fromPath('dashboard', array('pane' => $this->getName()))); $this->setUrl(Url::fromPath('dashboard', array('pane' => $this->getName())));
} }
/**
* {@inheritdoc}
*/
public function merge(NavigationItem $item)
{
parent::merge($item);
$this->setDashlets(array_merge(
$this->getDashlets(),
$item->getDashlets()
));
}
} }