You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var title = e.getAttribute("tiddler");
var separatorIndex = title.indexOf(config.textPrimitives.sliceSeparator);
if(separatorIndex == -1)
separatorIndex = title.indexOf(config.textPrimitives.sectionSeparator);
if(separatorIndex != -1)
title = title.substr(0,separatorIndex);
to do:
test if this fixes the issue
explore if this is a proper fix or the tiddler attribute of the spangenerated by tiddler macro should have another value (title instead of title##section) in the first place (unlikely, at least in terms of backward compability
PS for myself: see also TransclusionFixesPlugin, "TransclusionContextFix" part where I hijack config.macros.tiddler.renderText instead, seems to be a weird approach. Also the fix should cover slider and tabs macros.
I used a <<tiddler "transcluded#Section">> in one of my tiddlers.
When the section, or the "transcluded" tiddler changes, the transcluded section does not get refreshed. (see https://groups.google.com/forum/?fromgroups=#!topic/tiddlywiki/lSbd2_J6JWc for an example)
I'm not sure, but I THINK I fixed it.
I imported the CoreTweaks and changed in the tweak to ticket 1147
This line:
if(force != null || changeList == null || changeList.indexOf(title) != -1) {
to this line
if(force != null || changeList == null || changeList.indexOf(title.replace(/##.*/,'')) != -1) {
This will remove the "##Section" part from the tiddler name and thus make a transcluded section refresh.
The text was updated successfully, but these errors were encountered: