Skip to content

Commit

Permalink
Dev Update YiiWheels to use latest Select2 script
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Apr 29, 2016
1 parent 6a77d73 commit 1a62d98
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -108,7 +108,7 @@ public function registerClientScript()

/* initialize plugin */
$selector = '#' . TbArray::getValue('id', $this->htmlOptions, $this->getId());

$this->pluginOptions['theme']='bootstrap';
$this->getApi()->registerPlugin('select2', $selector, $this->pluginOptions, CClientScript::POS_READY);
$this->getApi()->registerEvents($selector, $this->events, CClientScript::POS_READY);
}
Expand Down

0 comments on commit 1a62d98

Please sign in to comment.