Commit 1d63f9ea authored by Shakarim Sapa's avatar Shakarim Sapa

- Добавили отключение буфера и его очистку

parent 6e5c5f1e
...@@ -217,14 +217,14 @@ class BaseForm extends \yii\widgets\ActiveForm ...@@ -217,14 +217,14 @@ class BaseForm extends \yii\widgets\ActiveForm
unset($config['buttons']); unset($config['buttons']);
// self::initCustom($config); self::initCustom($config);
return true; return true;
} }
public function initCustom($config) { public function initCustom($config) {
ob_start(); ob_start();
ob_implicit_flush(false); // ob_implicit_flush(false);
$form = ActiveForm::begin(ArrayHelper::merge( $form = ActiveForm::begin(ArrayHelper::merge(
[ [
'enableAjaxValidation' => true, 'enableAjaxValidation' => true,
......
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