Browse Source

Fixing the issue #3292

This change fixes the issue #3292. The details were mentioned in the comments to the issue.
tags/2.0.0-rc
it3rmit 11 years ago
parent
commit
ba8ebecd3e
  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