From ba8ebecd3e2e25e45d30eeee263ecf53758566bf Mon Sep 17 00:00:00 2001 From: it3rmit Date: Tue, 6 May 2014 16:43:17 +0300 Subject: [PATCH] Fixing the issue #3292 This change fixes the issue #3292. The details were mentioned in the comments to the issue. --- ButtonDropdown.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ButtonDropdown.php b/ButtonDropdown.php index dedf8db..2324312 100644 --- a/ButtonDropdown.php +++ b/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'); }