From d2403ebf6d6328b743601edc21af9a7add2cd2ce Mon Sep 17 00:00:00 2001 From: Alexander Kochetov Date: Sun, 26 May 2013 02:40:01 +0400 Subject: [PATCH] enableTheme => registerTheme --- framework/yii/jui/Widget.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/yii/jui/Widget.php b/framework/yii/jui/Widget.php index 063b1b9..d34a8bd 100644 --- a/framework/yii/jui/Widget.php +++ b/framework/yii/jui/Widget.php @@ -58,14 +58,14 @@ class Widget extends \yii\base\Widget /** * Registers a specific jQuery UI widget and the related events * @param string $name the name of the jQuery UI widget - * @param boolean $enableTheme whether register theme bundle + * @param boolean $registerTheme whether register theme bundle */ - protected function registerWidget($name, $enableTheme = true) + protected function registerWidget($name, $registerTheme = true) { $id = $this->options['id']; $view = $this->getView(); $view->registerAssetBundle("yii/jui/$name"); - if ($enableTheme) { + if ($registerTheme) { $view->registerAssetBundle(static::$theme . "/$name"); }