Commit f53bb318 by Alexander Makarov

Merge branch 'it3rmit-patch-2'

parents e88978f8 ea45113d
...@@ -64,7 +64,10 @@ class ButtonDropdown extends Widget ...@@ -64,7 +64,10 @@ class ButtonDropdown extends Widget
*/ */
public function run() public function run()
{ {
echo $this->renderButton() . "\n" . $this->renderDropdown(); echo Html::beginTag('div', ['class' => 'btn-group']);
echo "\n" . $this->renderButton();
echo "\n" . $this->renderDropdown();
echo "\n" . Html::endTag('div');
$this->registerPlugin('button'); $this->registerPlugin('button');
} }
......
...@@ -4,6 +4,7 @@ Yii Framework 2 bootstrap extension Change Log ...@@ -4,6 +4,7 @@ Yii Framework 2 bootstrap extension Change Log
2.0.0-rc under development 2.0.0-rc under development
-------------------------- --------------------------
- Bug #3292: Fixed dropdown widgets rendering incorrect HTML (it3rmit)
- Chg #3036: Upgraded Twitter Bootstrap to 3.1.x (qiangxue) - Chg #3036: Upgraded Twitter Bootstrap to 3.1.x (qiangxue)
......
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