/list.html page on webintents.org is currently broken

15 views
Skip to first unread message

Good Willie

unread,
Jan 4, 2012, 7:55:09 AM1/4/12
to Web Intents
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)

Paul Kinlan

unread,
Jan 4, 2012, 11:13:48 AM1/4/12
to web-i...@googlegroups.com
Hi,

Issue created and being tracked.  Fix to land soon. 


P

--
Paul Kinlan
Developer Advocate @ Google for Chrome and HTML5

Good Willie

unread,
Jan 4, 2012, 1:05:06 PM1/4/12
to Web Intents
Hi Paul,

a quick fix will be appreciated because i am preparing a session with
some demos.

Thanks,

Willie


On Jan 4, 5:13 pm, Paul Kinlan <paulkin...@google.com> wrote:
> Hi,
>
> Issue created and being tracked.  Fix to land soon.
>
> https://github.com/PaulKinlan/WebIntents/issues/147
>
> P
>
> On Wed, Jan 4, 2012 at 12:55 PM, Good Willie <willie.chieu...@googlemail.com

Paul Kinlan

unread,
Jan 4, 2012, 1:25:46 PM1/4/12
to web-i...@googlegroups.com
The fix will actually be to remove the addition of the click handler for launch as this is not an intent we are launching from this page.

Would love to hear more about your session and demos.

P
Reply all
Reply to author
Forward
0 new messages