Fix the rendering of deprecation log messages
This commit is contained in:
parent
a810fd13b9
commit
8b6efffd5a
@ -112,6 +112,7 @@
|
|||||||
{% macro display_message(log_index, log, is_deprecation) %}
|
{% macro display_message(log_index, log, is_deprecation) %}
|
||||||
{% if is_deprecation %}
|
{% if is_deprecation %}
|
||||||
{% set stack = log.context.stack|default([]) %}
|
{% set stack = log.context.stack|default([]) %}
|
||||||
|
{% set id = 'sf-call-stack-' ~ log_index %}
|
||||||
|
|
||||||
{% if stack %}
|
{% if stack %}
|
||||||
<a href="#" onclick="Sfjs.toggle('{{ id }}', document.getElementById('{{ id }}-on'), document.getElementById('{{ id }}-off')); return false;">
|
<a href="#" onclick="Sfjs.toggle('{{ id }}', document.getElementById('{{ id }}-on'), document.getElementById('{{ id }}-off')); return false;">
|
||||||
|
Reference in New Issue
Block a user