From 19a74c015c2103cabbd887c2e50df1fe6a777ecc Mon Sep 17 00:00:00 2001 From: resurtm Date: Thu, 16 May 2013 00:07:50 +0600 Subject: [PATCH] 'yii/form' asset bundle returned to the ActiveForm. --- yii/widgets/ActiveForm.php | 1 + 1 file changed, 1 insertion(+) diff --git a/yii/widgets/ActiveForm.php b/yii/widgets/ActiveForm.php index 0225f76..51b883f 100644 --- a/yii/widgets/ActiveForm.php +++ b/yii/widgets/ActiveForm.php @@ -135,6 +135,7 @@ class ActiveForm extends Widget $options = Json::encode($this->getClientOptions()); $attributes = Json::encode($this->attributes); $this->view->registerJs("jQuery('#$id').yiiActiveForm($attributes, $options);"); + $this->view->registerAssetBundle('yii/form'); } echo Html::endForm(); }