Browse Source

fix missing code for infinite dropdown

tags/2.0.0
Ary Raditya 10 years ago committed by Qiang Xue
parent
commit
750ef75bc6
  1. 2
      Dropdown.php

2
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);

Loading…
Cancel
Save