You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by John Hjelmstad <fa...@google.com> on 2010/11/20 00:47:16 UTC
Re: [jira] Created: (SHINDIG-1473) gadgets.rpc calls from gadget to
don't work when the transport is postMessage
I'm assuming you're referring to gadget-to-gadget communication. I believe
this is fixed in the current rpc.js?
http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js
--j
On Fri, Nov 19, 2010 at 2:28 PM, Albert Wells (JIRA) <ji...@apache.org>wrote:
> gadgets.rpc calls from gadget to don't work when the transport is
> postMessage
>
> -----------------------------------------------------------------------------
>
> Key: SHINDIG-1473
> URL: https://issues.apache.org/jira/browse/SHINDIG-1473
> Project: Shindig
> Issue Type: Bug
> Components: Javascript
> Affects Versions: 1.0.1
> Environment: Any browser where the window.postMessage transport is
> used
> Reporter: Albert Wells
>
>
> Gadget-to-gadget communication doesn't work because of a bug in line 836 of
> /features/src/main/javascript/features/rpc/rpc.js:
>
> var targetWin = targetId === '..' ? parent : frames[targetId];
>
> It should be "parent.frames[targetId]" instead.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>