Commit 19a74c01 by resurtm

'yii/form' asset bundle returned to the ActiveForm.

parent 60e574a6
...@@ -135,6 +135,7 @@ class ActiveForm extends Widget ...@@ -135,6 +135,7 @@ class ActiveForm extends Widget
$options = Json::encode($this->getClientOptions()); $options = Json::encode($this->getClientOptions());
$attributes = Json::encode($this->attributes); $attributes = Json::encode($this->attributes);
$this->view->registerJs("jQuery('#$id').yiiActiveForm($attributes, $options);"); $this->view->registerJs("jQuery('#$id').yiiActiveForm($attributes, $options);");
$this->view->registerAssetBundle('yii/form');
} }
echo Html::endForm(); echo Html::endForm();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment