Commit b979d3b0 by Kartik Visweswaran

Reverted closeButton

Reverted name to ```closeButton``` to be in sync with the bootstrap ```Alert``` widget.
parent 62493188
......@@ -37,7 +37,7 @@ class Alert extends \yii\bootstrap\Widget
/**
* @var array the options for rendering the close button tag.
*/
public $closeButtonOptions = [];
public $closeButton = [];
public function init()
{
......@@ -56,7 +56,7 @@ class Alert extends \yii\bootstrap\Widget
echo \yii\bootstrap\Alert::widget([
'body' => $message,
'closeButton' => $this->closeButtonOptions,
'closeButton' => $this->closeButton,
'options' => $this->options
]);
......
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