Commit 57a9443c authored by Shakarim Sapa's avatar Shakarim Sapa

- test

parent 86bc9177
<?php <?php
use yii\widgets\ActiveForm; use yii\widgets\ActiveForm;
use yii\helpers\Html; use yii\helpers\Html;
use yii\web\JsExpression;
use common\modules\bids\models\Bid; use common\modules\bids\models\Bid;
?> ?>
...@@ -17,9 +18,9 @@ use common\modules\bids\models\Bid; ...@@ -17,9 +18,9 @@ use common\modules\bids\models\Bid;
$form = ActiveForm::begin([ $form = ActiveForm::begin([
'action' => '/bids/bid/blogadd', 'action' => '/bids/bid/blogadd',
'enableClientValidation' => false, 'enableClientValidation' => false,
// 'afterSubmit' => new \yii\web\JsExpression('function($form, data, status, xhr) { 'afterSuccessfulSubmit' => new JsExpression('function($form, data, status, xhr) {
// alert("ASD"); alert("ASD");
// }'), }'),
'options' => [ 'options' => [
'class' => 'subsc_blog_form bids-form', 'class' => 'subsc_blog_form bids-form',
'data-title' => $title, 'data-title' => $title,
......
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