Commit 802a89f0 by Qiang Xue

Merge pull request #808 from callmez/master

Modal::clientOptions disable support.
parents 645ec364 c06e9caf
...@@ -204,10 +204,12 @@ class Modal extends Widget ...@@ -204,10 +204,12 @@ class Modal extends Widget
'tabindex' => -1, 'tabindex' => -1,
), $this->options); ), $this->options);
Html::addCssClass($this->options, 'modal'); Html::addCssClass($this->options, 'modal');
$this->clientOptions = array_merge(array( if ($this->clientOptions !== false) {
'show' => false, $this->clientOptions = array_merge(array(
), $this->clientOptions); 'show' => false,
), $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