[WebProfilerBundle] fixed CS, tweaked a sentence

This commit is contained in:
Fabien Potencier 2011-09-19 08:15:02 +02:00
parent 0c39eece06
commit 1b66af1b99

View File

@ -15,7 +15,7 @@
wdt.innerHTML = xhr.responseText;
wdt.style.display = 'block';
} else if (4 === xhr.readyState && xhr.status != 200) {
confirm('An error occured while loading the debug toolbar ('+xhr.status+': '+xhr.statusText+') .\n\nDo you want to open the page ?') && (window.location = '{{ path("_profiler", { "token": token }) }}');
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 }) }}');
}
};
xhr.send('');