Skip to content

Dashcontrol export to file is not work in Chrome #208

@ShadowCaty

Description

@ShadowCaty

When I click "Export to File" in dashcontrol, I saw the following error in console (use chrome 18.0.1025.162 m)

TypeError: Illegal constructor
at Object.to_file (http://localhost:8080/LogX_0.4.0Kibana/panels/dashcontrol/module.js:103:16)
at http://localhost:8080/LogX_0.4.0Kibana/common/lib/angular.min.js:70:430
at http://localhost:8080/LogX_0.4.0Kibana/common/lib/angular.min.js:143:122
at Object.$eval (http://localhost:8080/LogX_0.4.0Kibana/common/lib/angular.min.js:87:39)
at Object.$apply (http://localhost:8080/LogX_0.4.0Kibana/common/lib/angular.min.js:87:146)
at HTMLAnchorElement. (http://localhost:8080/LogX_0.4.0Kibana/common/lib/angular.min.js:143:104)
at HTMLAnchorElement. (http://localhost:8080/LogX_0.4.0Kibana/common/lib/jquery-1.8.0.min.js:2:37944)
at HTMLAnchorElement. (http://localhost:8080/LogX_0.4.0Kibana/common/lib/jquery-1.8.0.min.js:2:33881)

But it is work fine in FF 15.0.1

I search for the solution, and find this problem is similar with $scope.to_file function.

http://stackoverflow.com/questions/15293694/blob-constructor-browser-compatibility

This is work for me!

Maybe it needs to fix in the newer version.

Thx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugFixes for quality problems that affect the customer experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions