[WebProfilerBundle] turbolinks compatibility
This commit is contained in:
parent
20bf24ea3d
commit
c65b4c7d2d
@ -1,6 +1,6 @@
|
|||||||
<!-- START of Symfony2 Web Debug Toolbar -->
|
<!-- START of Symfony2 Web Debug Toolbar -->
|
||||||
{% if 'normal' != position %}
|
{% if 'normal' != position %}
|
||||||
<div id="sfMiniToolbar-{{ token }}" class="sf-minitoolbar">
|
<div id="sfMiniToolbar-{{ token }}" class="sf-minitoolbar" data-no-turbolink>
|
||||||
<a href="javascript:void(0);" title="Show Symfony toolbar" onclick="
|
<a href="javascript:void(0);" title="Show Symfony toolbar" onclick="
|
||||||
var elem = this.parentNode;
|
var elem = this.parentNode;
|
||||||
if (elem.style.display == 'none') {
|
if (elem.style.display == 'none') {
|
||||||
@ -24,7 +24,7 @@
|
|||||||
<div id="sfToolbarClearer-{{ token }}" style="clear: both; height: 38px;"></div>
|
<div id="sfToolbarClearer-{{ token }}" style="clear: both; height: 38px;"></div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div id="sfToolbarMainContent-{{ token }}" class="sf-toolbarreset">
|
<div id="sfToolbarMainContent-{{ token }}" class="sf-toolbarreset" data-no-turbolink>
|
||||||
{% for name, template in templates %}
|
{% for name, template in templates %}
|
||||||
{{ template.renderblock('toolbar', {
|
{{ template.renderblock('toolbar', {
|
||||||
'collector': profile.getcollector(name),
|
'collector': profile.getcollector(name),
|
||||||
|
Reference in New Issue
Block a user