[
http://jira.amdatu.org/jira/browse/AMDATUOPENSOCIAL-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11931#comment-11931
]
Matthijs Hendriks commented on AMDATUOPENSOCIAL-144:
----------------------------------------------------
This patch fixes the issue. The changes do not involve _themeroller.js_.
However, on a (re)load of the page the gadgets keep there default theme. Also,
when a gadget is added it gets the default theme (if set). To fix this, I have
tried several things, including injecting the CSS after the gadget is loaded,
add a load- and ready listener to the gadget which injects the CSS. It all
didn't work, because I think first the IFrame is loaded, after that the event
fires (since it is fully loaded) and last Shindig injects the actual HTML in
the IFrame. I did not find a shindig container listener or something similar.
> Dashboard themes not applied to gadgets
> ---------------------------------------
>
> Key: AMDATUOPENSOCIAL-144
> URL: http://jira.amdatu.org/jira/browse/AMDATUOPENSOCIAL-144
> Project: Amdatu OpenSocial
> Issue Type: Bug
> Affects Versions: 0.2.1
> Reporter: Bram de Kruijff
> Assignee: Matthijs Hendriks
> Attachments: AMDATUOPENSOCIAL-144.patch, g1.png, g2.png
>
>
> It default dashboard provides a theme selector based on themeroller, but when
> switching themes these are not (properly) applied to the amdatu gadgets (eg.
> login).
> ps. the default theme is part of the dashboard code while the rest is
> dynamically downloaded form jquery.com. I think this code should also work
> offline / secured environment(?)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://jira.amdatu.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers