Skip to content

Not working in IE8/9 #4

@slyo

Description

@slyo

It seems sometimes your resolve method returns a char array in IE8/9, which causes problems (error: Unable to get property 'ownerDocument' of undefined or null reference)
https://github.com/rstaib/jquery-bootgrid/blob/master/src/extensions.js#L74
Adding toString() to this line seems to fix it, but I don't know if that will break anything else?

if (typeof value === "object")
                {
                    var keys = (prefixes) ? $.extend([], prefixes) : [];
                    keys.push(key);
                    result = result.resolve(value, keys).toString();
                }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions