Переглянути джерело

[FrameworkBundle] Fixing small bug on exception page where the +/- icons didn't toggle correctly

Ryan Weaver 14 роки тому
батько
коміт
a166b8de64

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.html.twig

@@ -25,7 +25,7 @@
                         <ul>
                             {% for i, previous in exception.previouses %}
                                 <li>
-                                    {{ previous.class|abbr_class }} <a href="#traces_link_{{ i + 1 }}" onclick="toggle('traces_{{ i + 1 }}', 'traces');">&raquo;</a>
+                                    {{ previous.class|abbr_class }} <a href="#traces_link_{{ i + 1 }}" onclick="toggle('traces_{{ i + 1 }}', 'traces'); switchIcons('icon_traces_{{ i + 1 }}_open', 'icon_traces_{{ i + 1 }}_close');">&raquo;</a>
                                 </li>
                             {% endfor %}
                         </ul>