From 2d8bd1dc2662bf22056c9e904e4696cd925d7e9f Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Fri, 14 Apr 2017 12:33:20 +0200 Subject: [PATCH 1/2] fixed plugin for ButtonDropdown widget fixes #184 --- ButtonDropdown.php | 2 +- CHANGELOG.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ButtonDropdown.php b/ButtonDropdown.php index 7b63b83c4..388751d11 100644 --- a/ButtonDropdown.php +++ b/ButtonDropdown.php @@ -84,7 +84,7 @@ public function run() $options = $this->containerOptions; $tag = ArrayHelper::remove($options, 'tag', 'div'); - $this->registerPlugin('button'); + $this->registerPlugin('dropdown'); return implode("\n", [ Html::beginTag($tag, $options), $this->renderButton(), diff --git a/CHANGELOG.md b/CHANGELOG.md index 9979bada3..532114880 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ Yii Framework 2 bootstrap extension Change Log - Bug #143: Fixed `yii\bootstrap\Nav` to use tags according to bootstrap docs (PowerGamer1) - Bug #162: Fixed `yii\bootstrap\Nav` not taking explicit `active` into account when `activateItems` is off (samdark) - Enh #174: Added `yii\bootstrap\Tabs::renderPanes()` to allow extending the class to manipulate the content between the tabs and the content (thiagotalma) +- Bug #184: `yii\bootstrap\ButtonDropdown` widget did not use the correct JS plugin, was `button`, changed to `dropdown` (cebe,yukal) - Bug #196: Remove `role="form"` from `yii\bootstrap\ActiveForm` according to new aria specification (bastardijke) From 8b131480b66f05cfcb10adb5d133dcb015702783 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Sat, 15 Apr 2017 16:31:39 +0300 Subject: [PATCH 2/2] Formatting [skip ci] --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 532114880..47ce04a11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ Yii Framework 2 bootstrap extension Change Log - Bug #143: Fixed `yii\bootstrap\Nav` to use tags according to bootstrap docs (PowerGamer1) - Bug #162: Fixed `yii\bootstrap\Nav` not taking explicit `active` into account when `activateItems` is off (samdark) - Enh #174: Added `yii\bootstrap\Tabs::renderPanes()` to allow extending the class to manipulate the content between the tabs and the content (thiagotalma) -- Bug #184: `yii\bootstrap\ButtonDropdown` widget did not use the correct JS plugin, was `button`, changed to `dropdown` (cebe,yukal) +- Bug #184: `yii\bootstrap\ButtonDropdown` widget did not use the correct JS plugin, was `button`, changed to `dropdown` (cebe, yukal) - Bug #196: Remove `role="form"` from `yii\bootstrap\ActiveForm` according to new aria specification (bastardijke)