Skip to content

Commit

Permalink
Merge remote branch 'ooflorent/patch-1'
Browse files Browse the repository at this point in the history
* ooflorent/patch-1:
  Made the profiler toolbar loading an XML HTTP request.
  • Loading branch information
fabpot committed May 28, 2011
2 parents 40b8432 + f052d2d commit 5432938
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -9,6 +9,7 @@
xhr = new ActiveXObject('Microsoft.XMLHTTP');
}
xhr.open('GET', '{{ path("_wdt", { "token": token }) }}', false);
xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
xhr.send('');
wdt.innerHTML = xhr.responseText;
wdt.style.display = 'block';
Expand Down

0 comments on commit 5432938

Please sign in to comment.