Skip to content
This repository

Error in list.html #147

Open
PaulKinlan opened this Issue January 04, 2012 · 0 comments

1 participant

Paul Kinlan
Paul Kinlan
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)

Greg Billock gregbillock referenced this issue from a commit in gregbillock/WebIntents January 04, 2012
Fixes #147 - remove the click handler for list.html 9ad9bc9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.