Commit ada119c9b4edf702959de535bd1a15eec34c5992

Authored by Yarik
1 parent cefc2aa6

test

frontend/views/ajax/feedback_form.php
... ... @@ -14,6 +14,7 @@
14 14 use yii\widgets\ActiveForm;
15 15  
16 16 $form = ActiveForm::begin([
  17 + 'id' => 'feedback_'.\Yii::$app->security->generateRandomString(3),
17 18 'options' => [
18 19 'enctype' => 'multipart/form-data',
19 20 'class' => 'feedback_form',
... ...
frontend/views/ajax/project_user.php
... ... @@ -46,10 +46,6 @@
46 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 47 </div>
48 48 </div>
49   -
50   -
51   -
52   -
53 49 </div>
54 50 <script>
55 51 var blocks = $('.add_project_user_list .project_user_wrapper')
... ...
frontend/views/ajax/users.php
... ... @@ -22,7 +22,7 @@
22 22 BootstrapPluginAsset::register($this);
23 23 $pjax = Pjax::begin([
24 24 'enablePushState' => false,
25   - 'id' => 'pjax-user',
  25 + 'id' => 'pjax-user_'.\Yii::$app->security->generateRandomString(3),
26 26 ]);
27 27 $js = "$('.user_search_modal_input').tooltip({placement: 'top', title: function() { return $(this).data('error'); }, trigger: 'manual'});
28 28 $('.user_search_modal_input').tooltip('show');";
... ...