Commit 8834b16827f313917e6530cc54f7ec3e2834d5f9

Authored by Administrator
1 parent 353c0f81

big commti

common/modules/product/views/variant/_form.php
... ... @@ -37,7 +37,7 @@ $(".dynamicform_wrapper").on("limitReached", function(e, item) {
37 37 });
38 38 ';
39 39  
40   -$this->registerJs($js, View::POS_END);
  40 +$this->registerJs($js, View::POS_READY);
41 41 ?>
42 42 <div class="product-form">
43 43  
... ...
frontend/views/catalog/product.php
... ... @@ -199,7 +199,7 @@ use yii\widgets\MaskedInput;
199 199 clock.setCountdown(true);
200 200 clock.start();
201 201 ";
202   - $this->registerJs($js,View::POS_END)
  202 + $this->registerJs($js,View::POS_READY)
203 203 ?>
204 204  
205 205  
... ...
frontend/views/event/_objects.php
... ... @@ -39,7 +39,7 @@ use yii\web\View;
39 39 clock.setTime(".(strtotime($model->end_at) - strtotime(date('Y-m-d H:i:s'))).");
40 40 clock.setCountdown(true);
41 41 clock.start();";
42   - $this->registerJs($js,View::POS_END) ?>
  42 + $this->registerJs($js,View::POS_READY) ?>
43 43  
44 44 <?php } ?>
45 45 </div>
... ...
frontend/views/event/show.php
1 1 <?php
2   -
  2 +/**
  3 + * @var $this View
  4 + */
3 5  
4 6 use yii\web\View;
5 7 use yii\widgets\ListView;
... ... @@ -48,7 +50,7 @@ $this-&gt;params[&#39;seo&#39;][&#39;h1&#39;] = $this-&gt;title;
48 50 clock.setTime(".(strtotime($model->end_at) - strtotime(date('Y-m-d H:i:s'))).");
49 51 clock.setCountdown(true);
50 52 clock.start();";
51   - $this->registerJs($js,View::POS_END) ?>
  53 + $this->registerJs($js,View::POS_READY) ?>
52 54  
53 55  
54 56 <?php
... ...
frontend/widgets/views/slider.php
... ... @@ -38,7 +38,7 @@ use yii\web\View;
38 38 clock.setTime(".(strtotime($image->end_at) - strtotime(date('Y-m-d H:i:s'))).");
39 39 clock.setCountdown(true);
40 40 clock.start();";
41   - $this->registerJs($js,View::POS_END) ?>
  41 + $this->registerJs($js,View::POS_READY) ?>
42 42  
43 43  
44 44 <?php
... ... @@ -72,6 +72,6 @@ $js=&quot; $(\&quot;#$title\&quot;).owlCarousel({
72 72 })
73 73 ";
74 74  
75   -$this->registerJs($js,View::POS_END);
  75 +$this->registerJs($js,View::POS_READY);
76 76  
77 77 ?>
... ...