You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commits
-------
d11af63 avoid showing the web profiler toolbar loading error if status is 0
Discussion
----------
[WebProfilerBundle] avoid showing the web profiler toolbar loading error if status is 0
Currently, such error is also shown if loading the page is manually aborted, e.g. by clicking on a link before the toolbar has been loaded, which is quite annoying.
---------------------------------------------------------------------------
by travisbot at 2012-05-24T14:42:43Z
This pull request [fails](http://travis-ci.org/symfony/symfony/builds/1422610) (merged d11af63 into b07fb3c).
confirm('An error occurred while loading the web debug toolbar ('+xhr.status+': '+xhr.statusText+').\n\nDo you want to open the profiler?') && (window.location='{{ path("_profiler", { "token": token }) }}')
12
+
if (xhr.status!==0) {
13
+
confirm('An error occurred while loading the web debug toolbar ('+xhr.status+': '+xhr.statusText+').\n\nDo you want to open the profiler?') && (window.location='{{ path("_profiler", { "token": token }) }}');
0 commit comments