Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in list.html #147

Open
PaulKinlan opened this issue Jan 4, 2012 · 0 comments
Open

Error in list.html #147

PaulKinlan opened this issue Jan 4, 2012 · 0 comments

Comments

@PaulKinlan
Copy link
Owner

As already mentioned in a post in this group, the /list.html page on
webintents.org is currently broken.

Check this out:

  1. /list.html
    line 45: IntentController.renderActions(action.actions, undefined,
    root) where intent has the value UNDEFINED.

The renderActions function calls the renderAction function with in
turn calls the launch function.

In the latter function, line 63 following check is done if(!!
intent._callback == false) with intent:=UNDEFINED what causes the
following exception:

Uncaught TypeError: Cannot read property '_callback' of undefined
-> launch (controller.js:63)

Solution: if( intent != undefined && !!intent._callback == false)

gregbillock pushed a commit to gregbillock/WebIntents that referenced this issue May 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant