Browse Source

Fixes issue #472.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
5596e50bf3
  1. 6
      framework/yii/bootstrap/Nav.php

6
framework/yii/bootstrap/Nav.php

@ -128,8 +128,10 @@ class Nav extends Widget
$this->addCssClass($urlOptions, 'dropdown-toggle');
$label .= ' ' . Html::tag('b', '', array('class' => 'caret'));
if (is_array($dropdown)) {
$dropdown['clientOptions'] = false;
$dropdown = Dropdown::widget($dropdown);
$dropdown = Dropdown::widget(array(
'items' => $dropdown,
'clientOptions' => false,
));
}
}

Loading…
Cancel
Save