Commit c06e9caf by callmez

Modal::clientOptions disable support.

parent 1072abb1
...@@ -205,9 +205,11 @@ class Modal extends Widget ...@@ -205,9 +205,11 @@ class Modal extends Widget
), $this->options); ), $this->options);
Html::addCssClass($this->options, 'modal'); Html::addCssClass($this->options, 'modal');
if ($this->clientOptions !== false) {
$this->clientOptions = array_merge(array( $this->clientOptions = array_merge(array(
'show' => false, 'show' => false,
), $this->clientOptions); ), $this->clientOptions);
}
if ($this->closeButton !== null) { if ($this->closeButton !== null) {
$this->closeButton = array_merge(array( $this->closeButton = array_merge(array(
......
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