mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-20 07:42:17 +02:00
N°2847 - Separate inline scripts and css from html in the rendering of pages
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
{% extends "pages/backoffice/webpage/layout.html.twig" %}
|
||||
|
||||
{% block iboPageJsInlineOnDomReady %}
|
||||
setTimeout(function () {
|
||||
{% for sJsInline in aPage.aJsInlineOnDomReady %}
|
||||
setTimeout(function () {
|
||||
{{ sJsInline|raw }}
|
||||
}, 50);
|
||||
{% endfor %}
|
||||
}, 50);
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user