From 750ef75bc6f10dd3b8dbdb6df2750f833e7a83b5 Mon Sep 17 00:00:00 2001 From: Ary Raditya Date: Fri, 3 Oct 2014 13:56:55 +0800 Subject: [PATCH] fix missing code for infinite dropdown --- Dropdown.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dropdown.php b/Dropdown.php index 5fe406c..66a97a7 100644 --- a/Dropdown.php +++ b/Dropdown.php @@ -95,7 +95,7 @@ class Dropdown extends Widget $content = Html::a($label, ArrayHelper::getValue($item, 'url', '#'), $linkOptions); if (!empty($item['items'])) { unset($this->_containerOptions['id']); - $this->renderItems($item['items']); + $content .= $this->renderItems($item['items']); Html::addCssClass($options, 'dropdown-submenu'); } $lines[] = Html::tag('li', $content, $options);