From cdcbc3f6e486a2dacf89b1307fc1b96b94257e02 Mon Sep 17 00:00:00 2001 From: Aleksandr Zelenin Date: Fri, 3 Oct 2014 17:14:08 +0400 Subject: [PATCH] add BootstrapPlugin::register() to Dropdown widget --- Dropdown.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dropdown.php b/Dropdown.php index 66a97a7..a31ca29 100644 --- a/Dropdown.php +++ b/Dropdown.php @@ -46,7 +46,6 @@ class Dropdown extends Widget */ protected $_containerOptions = []; - /** * Initializes the widget. * If you override this method, make sure you call the parent implementation first. @@ -64,6 +63,7 @@ class Dropdown extends Widget public function run() { echo $this->renderItems($this->items); + BootstrapPluginAsset::register($this->getView()); } /**