Skip to content
This repository was archived by the owner on May 13, 2019. It is now read-only.
This repository was archived by the owner on May 13, 2019. It is now read-only.

JS TypeError blocks the application #7

@pkiraly

Description

@pkiraly

When I tried the application clicking on the G+ button nothing happened. I turned on Firebug and I get this error message

TypeError: can't convert authResult[field] to primitive type

$('#authResult').append(' ' + field + ': ' + authResult[field] + '<br/>');

localhost:4567 (line 87)

For me the solution was to eliminate the output of the 'status' variable:
index.html lines 87-89

        if (field != 'status') {
          $('#authResult').append(' ' + field + ': ' + authResult[field] + '<br/>');
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions