Yii Bootter で TbTabs を使用しているときに、タブ イベントの変更を制御するにはどうすればよいですか?
これが私のコードです(ただし、タブを変更してもアラートは出ませんでした):
$this->widget('bootstrap.widgets.TbTabs', array(
'type' => 'tabs',
'tabs' => array(
array('label' => 'Trainer Modules', 'content' => 'content tab 1',
array('label' => 'Default Modules', 'content' => 'content tab 2',
),
'events' => array(
'change' => "js:function(){alert('123');}"
)
));