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

CloseText configuration per Alert not working

Anonymous created an issue

Hi, given the example in the website:

<?php $this->widget('bootstrap.widgets.TbAlert', array( 'block'=>true, // display a larger alert block? 'fade'=>true, // use transitions? 'closeText'=>'&times;', // close link text - if set to false, no close link is displayed 'alerts'=>array( // configurations per alert type 'success'=>array('block'=>true, 'fade'=>true, 'closeText'=>'&times;'), // success, info, warning, error or danger ), ); ?>

This won't display the &times; close button, but if I remove the configuration 'alerts', its showing.