Ticket #1270 (closed defect: fixed)
ColorPalette won't refresh of website uri
| Reported by: | jdlrobson | Owned by: | MartinBudden |
|---|---|---|---|
| Priority: | major | Milestone: | 2.6.3 |
| Component: | core | Version: | |
| Severity: | low | Keywords: | |
| Cc: |
Description (last modified by FND) (diff)
In IE6 and 7 it has been observed that a change to the ColorPalette? tiddler does not update the theme.
This only applies to TiddlyWiki's running off a uri (not file:///).
A minimum test case can be found here: http://jonrobson.me.uk/static/y.html Please run this in Firefox and then run in Internet Explorer. Observe how the StyleSheet? does not refresh in the latter.
Suggested solution is to update setStyleSheet to remove the stylesheet first.
e.g.
setStylesheet = function(s,id,doc)
{
jQuery.twStylesheet.remove({ id: id });
_setStylesheet.apply(this, arguments);
};
Change History
Note: See
TracTickets for help on using
tickets.
