Closed BFoucher closed 7 years ago
Ajax doesn't fire document.ready, http://stackoverflow.com/questions/20246299/does-ajax-loaded-content-get-a-document-ready.
It needs to be included after the libraries. There is 2 way to render alerts, the twig extension (for ajax mode only (?)) or the event listener which on kernel.response, will include automatically the alerts just before the </body> tag.
</body>
Ajax doesn't fire document.ready, http://stackoverflow.com/questions/20246299/does-ajax-loaded-content-get-a-document-ready.
It needs to be included after the libraries. There is 2 way to render alerts, the twig extension (for ajax mode only (?)) or the event listener which on kernel.response, will include automatically the alerts just before the
</body>
tag.