Skip to content

symfony 2 profiler bar throws javascript error in IE8 #13447

@pjordaan

Description

@pjordaan

In IE8 and 9 the symfony 2 profiler throws a javascript error caused by the ajax requests logged.

IE8 and 9 do not have have a addEventListener object in XMLHttpRequest, but use attachEvent instead.

For IE8 and 9, in base_js.html.twig instead of this.addEventListener("readystatechange", function() {
it should be this.attachEvent("onreadystatechange", function () {

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueIdeal for your first contribution! (some Symfony experience may be required)WebProfilerBundle

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions