Commit ada119c9b4edf702959de535bd1a15eec34c5992
1 parent
cefc2aa6
test
Showing
3 changed files
with
2 additions
and
5 deletions
Show diff stats
frontend/views/ajax/feedback_form.php
@@ -14,6 +14,7 @@ | @@ -14,6 +14,7 @@ | ||
14 | use yii\widgets\ActiveForm; | 14 | use yii\widgets\ActiveForm; |
15 | 15 | ||
16 | $form = ActiveForm::begin([ | 16 | $form = ActiveForm::begin([ |
17 | + 'id' => 'feedback_'.\Yii::$app->security->generateRandomString(3), | ||
17 | 'options' => [ | 18 | 'options' => [ |
18 | 'enctype' => 'multipart/form-data', | 19 | 'enctype' => 'multipart/form-data', |
19 | 'class' => 'feedback_form', | 20 | 'class' => 'feedback_form', |
frontend/views/ajax/project_user.php
@@ -46,10 +46,6 @@ | @@ -46,10 +46,6 @@ | ||
46 | <span class="project_user_remove" style="background: url('/images/delete-ico.png') no-repeat; width: 13px; height: 13px; display: block; background-size: cover; cursor:pointer"></span> | 46 | <span class="project_user_remove" style="background: url('/images/delete-ico.png') no-repeat; width: 13px; height: 13px; display: block; background-size: cover; cursor:pointer"></span> |
47 | </div> | 47 | </div> |
48 | </div> | 48 | </div> |
49 | - | ||
50 | - | ||
51 | - | ||
52 | - | ||
53 | </div> | 49 | </div> |
54 | <script> | 50 | <script> |
55 | var blocks = $('.add_project_user_list .project_user_wrapper') | 51 | var blocks = $('.add_project_user_list .project_user_wrapper') |
frontend/views/ajax/users.php
@@ -22,7 +22,7 @@ | @@ -22,7 +22,7 @@ | ||
22 | BootstrapPluginAsset::register($this); | 22 | BootstrapPluginAsset::register($this); |
23 | $pjax = Pjax::begin([ | 23 | $pjax = Pjax::begin([ |
24 | 'enablePushState' => false, | 24 | 'enablePushState' => false, |
25 | - 'id' => 'pjax-user', | 25 | + 'id' => 'pjax-user_'.\Yii::$app->security->generateRandomString(3), |
26 | ]); | 26 | ]); |
27 | $js = "$('.user_search_modal_input').tooltip({placement: 'top', title: function() { return $(this).data('error'); }, trigger: 'manual'}); | 27 | $js = "$('.user_search_modal_input').tooltip({placement: 'top', title: function() { return $(this).data('error'); }, trigger: 'manual'}); |
28 | $('.user_search_modal_input').tooltip('show');"; | 28 | $('.user_search_modal_input').tooltip('show');"; |