1. Christoffer Niska
  2. yii-bootstrap
  3. Issues
Issue #178 new

TbBaseMenu with support for link in menu

manuel_84
created an issue

Line 137 should be

if (empty($item['url'])) $item['url'] = '#';

So I can add a url in the dropdown main voice like that (class "disabled" enable clicks on dropdown and disable js handler)

array('label' => 'My Title', 'linkOptions' => array('class' => 'disabled'), 'url' => array('/controller/action'), 'items' => $myItems),

Comments (0)

  1. Log in to comment