Browse Source

Merge branch 'patch-2' of github.com:it3rmit/yii2 into it3rmit-patch-2

tags/2.0.0-rc
Alexander Makarov 10 years ago
parent
commit
6894468527
  1. 5
      ButtonDropdown.php

5
ButtonDropdown.php

@ -64,7 +64,10 @@ class ButtonDropdown extends Widget
*/
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');
}

Loading…
Cancel
Save