Added missed id attribute to the widget

This commit is contained in:
Evgeniy Tkachenko 2017-08-01 12:02:26 +03:00 committed by GitHub
parent 0c4f031250
commit 0646b21543

View File

@ -29,6 +29,8 @@ class Menu extends \humhub\widgets\BaseMenu
if ($this->space === null) {
throw new \yii\base\Exception("Could not instance space menu without space!");
}
$this->id = 'navigation-menu-space-' . $this->space->getUniqueId();
$this->addItemGroup(array(
'id' => 'modules',