Fix the rendering of deprecation log messages

This commit is contained in:
Christophe Coevoet 2015-05-19 18:27:55 +02:00
parent a810fd13b9
commit 8b6efffd5a

View File

@ -112,6 +112,7 @@
{% macro display_message(log_index, log, is_deprecation) %}
{% if is_deprecation %}
{% set stack = log.context.stack|default([]) %}
{% set id = 'sf-call-stack-' ~ log_index %}
{% if stack %}
<a href="#" onclick="Sfjs.toggle('{{ id }}', document.getElementById('{{ id }}-on'), document.getElementById('{{ id }}-off')); return false;">