Fix tooltips not activated in AjaxPage

This commit is contained in:
Molkobain
2021-03-05 12:33:24 +01:00
parent 18d4685007
commit bbbc5e966b

View File

@@ -57,25 +57,29 @@
{{ sJsInlineOnDomReady|raw }} {{ sJsInlineOnDomReady|raw }}
{% endfor %} {% endfor %}
} }
}); });
}; };
fLoadScript{{ sId }}(); fLoadScript{{ sId }}();
} else { } else
{% for sJsInlineOnDomReady in aPage.aJsInlineOnDomReady %} {
{{ sJsInlineOnDomReady|raw }} {% for sJsInlineOnDomReady in aPage.aJsInlineOnDomReady %}
{% endfor %} {{ sJsInlineOnDomReady|raw }}
} {% endfor %}
</script> }
{% endblock %} </script>
{% else %} {% endblock %}
{% block iboPageJsInlineOnDomReady %} {% endif %}
{% for sJsInlineOnDomReady in aPage.aJsInlineOnDomReady %}
<script type="text/javascript"> {% block iboPageJsInlineOnDomReady %}
{{ sJsInlineOnDomReady|raw }} {% for sJsInlineOnDomReady in aPage.aJsInlineOnDomReady %}
</script> <script type="text/javascript">
{% endfor %} {{ sJsInlineOnDomReady|raw }}
{% endblock %} </script>
{% endif %} {% endfor %}
<script type="application/javascript">
CombodoTooltip.InitAllNonInstantiatedTooltips($('body'));
</script>
{% endblock %}
{% if aDeferredBlocks is not empty %} {% if aDeferredBlocks is not empty %}
{# TODO 3.0.0 #} {# TODO 3.0.0 #}