Error in list.html #147

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

1 participant

@PaulKinlan
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 gregbillock pushed a commit to gregbillock/WebIntents that referenced this issue May 21, 2012
Paul Kinlan 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