You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Ryan Baxter (JIRA)" <ji...@apache.org> on 2013/07/26 02:29:49 UTC

[jira] [Resolved] (SHINDIG-1922) Pubsub gadgets fail to render in commoncontainer

     [ https://issues.apache.org/jira/browse/SHINDIG-1922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Baxter resolved SHINDIG-1922.
----------------------------------

    Resolution: Fixed
      Assignee: Ryan Baxter

Committed revision 1507163
                
> Pubsub gadgets fail to render in commoncontainer
> ------------------------------------------------
>
>                 Key: SHINDIG-1922
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1922
>             Project: Shindig
>          Issue Type: Bug
>    Affects Versions: 2.5.0, 2.5.0-beta6
>            Reporter: Ryan Baxter
>            Assignee: Ryan Baxter
>             Fix For: 2.5.0
>
>
> In webkit browsers the onload handler gets called twice, which ends up
> removing the iframe from the DOM.  After looking at there appears to
> be a few problems with the pubsub code and the onload handlers added
> to the iframe.  We add it in the iframe attributes and then add it to
> the iframe again later on, which seems unneccessary.  I think the root
> cause of the onload listener being called twice has to do with onload
> listener being added in the innerHTML string [1].  I will try to get
> the change fix checked in over the next few days.
> [1] http://stackoverflow.com/questions/10781880/why-iframe-that-dynamic-created-trigger-onload-event-twice

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira