Browse Source

Modal::clientOptions disable support.

tags/2.0.0-beta
callmez 11 years ago
parent
commit
c06e9cafe1
  1. 10
      framework/yii/bootstrap/Modal.php

10
framework/yii/bootstrap/Modal.php

@ -204,10 +204,12 @@ class Modal extends Widget
'tabindex' => -1,
), $this->options);
Html::addCssClass($this->options, 'modal');
$this->clientOptions = array_merge(array(
'show' => false,
), $this->clientOptions);
if ($this->clientOptions !== false) {
$this->clientOptions = array_merge(array(
'show' => false,
), $this->clientOptions);
}
if ($this->closeButton !== null) {
$this->closeButton = array_merge(array(

Loading…
Cancel
Save