Commit 5596e50b by Qiang Xue

Fixes issue #472.

parent 8157ea58
...@@ -128,8 +128,10 @@ class Nav extends Widget ...@@ -128,8 +128,10 @@ class Nav extends Widget
$this->addCssClass($urlOptions, 'dropdown-toggle'); $this->addCssClass($urlOptions, 'dropdown-toggle');
$label .= ' ' . Html::tag('b', '', array('class' => 'caret')); $label .= ' ' . Html::tag('b', '', array('class' => 'caret'));
if (is_array($dropdown)) { if (is_array($dropdown)) {
$dropdown['clientOptions'] = false; $dropdown = Dropdown::widget(array(
$dropdown = Dropdown::widget($dropdown); 'items' => $dropdown,
'clientOptions' => false,
));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment