You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Nuwan Bandara (JIRA)" <ji...@apache.org> on 2011/04/19 08:18:05 UTC

[jira] [Created] (SHINDIG-1528) Minimize-maximize issue in samplecontainer/examples/commoncontainer

Minimize-maximize issue in samplecontainer/examples/commoncontainer
-------------------------------------------------------------------

                 Key: SHINDIG-1528
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1528
             Project: Shindig
          Issue Type: Bug
            Reporter: Nuwan Bandara
         Attachments: _1303193376559.png

There is an issue in samplecontainer/examples/commoncontainer, when you have two or more gadgets in the container and when you collapse (minimize) a gadget and then maximize it again, the loaded content always become the content of the last gadget. 

see attached screen-shot of horoscope gadget and todo gadget. After collapsing and maximizing, the horoscope gadget also contains the content of TODO gadget.

After some investigation I found this is due to the click event firing twice and the latter overrides the original. by providing IDs to each of the span elements I was able to fix this. (please find the attached patch)

If this is correct please accept the patch.

Regards,
/Nuwan

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (SHINDIG-1528) Minimize-maximize issue in samplecontainer/examples/commoncontainer

Posted by "Nuwan Bandara (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-1528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nuwan Bandara updated SHINDIG-1528:
-----------------------------------

    Attachment: _1303193376559.png

issue screentshot

> Minimize-maximize issue in samplecontainer/examples/commoncontainer
> -------------------------------------------------------------------
>
>                 Key: SHINDIG-1528
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1528
>             Project: Shindig
>          Issue Type: Bug
>            Reporter: Nuwan Bandara
>         Attachments: _1303193376559.png
>
>
> There is an issue in samplecontainer/examples/commoncontainer, when you have two or more gadgets in the container and when you collapse (minimize) a gadget and then maximize it again, the loaded content always become the content of the last gadget. 
> see attached screen-shot of horoscope gadget and todo gadget. After collapsing and maximizing, the horoscope gadget also contains the content of TODO gadget.
> After some investigation I found this is due to the click event firing twice and the latter overrides the original. by providing IDs to each of the span elements I was able to fix this. (please find the attached patch)
> If this is correct please accept the patch.
> Regards,
> /Nuwan

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (SHINDIG-1528) Minimize-maximize issue in samplecontainer/examples/commoncontainer

Posted by "Nuwan Bandara (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-1528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nuwan Bandara updated SHINDIG-1528:
-----------------------------------

    Attachment: patch.diff

Fix as a patch

> Minimize-maximize issue in samplecontainer/examples/commoncontainer
> -------------------------------------------------------------------
>
>                 Key: SHINDIG-1528
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1528
>             Project: Shindig
>          Issue Type: Bug
>            Reporter: Nuwan Bandara
>         Attachments: _1303193376559.png, patch.diff
>
>
> There is an issue in samplecontainer/examples/commoncontainer, when you have two or more gadgets in the container and when you collapse (minimize) a gadget and then maximize it again, the loaded content always become the content of the last gadget. 
> see attached screen-shot of horoscope gadget and todo gadget. After collapsing and maximizing, the horoscope gadget also contains the content of TODO gadget.
> After some investigation I found this is due to the click event firing twice and the latter overrides the original. by providing IDs to each of the span elements I was able to fix this. (please find the attached patch)
> If this is correct please accept the patch.
> Regards,
> /Nuwan

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira