From 4e35fcb0c5aff9f06d9245ad43b6f149415563be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jir=CC=8Ci=CC=81=20Svoboda?= Date: Tue, 1 Dec 2015 11:41:07 +0100 Subject: [PATCH] 2.0.5 --- widgets/Nav.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/widgets/Nav.php b/widgets/Nav.php index 4f9d1a8..f3b1bf3 100755 --- a/widgets/Nav.php +++ b/widgets/Nav.php @@ -267,6 +267,11 @@ private function _getDropdownTag($item) $options = ['class' => sprintf('%s %s', 'dropdown-menu-default extended', $dropdownType)]; } + if ($this->activateItems) + { + $items = $this->isChildActive($items, $active); + } + $items = Dropdown::widget([ 'title' => ArrayHelper::getValue($item, 'title', ''), 'more' => ArrayHelper::getValue($item, 'more', []),