S
$this['ajax'] = true;
Передай. А на твиге условие
{% if ajax %}
<script>
....
</script>
{% else %}
{% put scripts %}
{% endput %}
{% endif %}
Size: a a a
S
$this['ajax'] = true;
{% if ajax %}
<script>
....
</script>
{% else %}
{% put scripts %}
{% endput %}
{% endif %}
M
$this['ajax'] = true;
{% if ajax %}
<script>
....
</script>
{% else %}
{% put scripts %}
{% endput %}
{% endif %}
S
SR
Д
M
$(document).ready(function()
вы про это? Д
$(document).ready(function()
вы про это? M
Д
M
S
Р
Р
SR
М
S
М
v
М
М