Hello,
I was trying to suppress the body of tiddlers tagged “Evaluation” and replace it with the content wrapped in a <$let> widget to redefine some variables. Normally these tiddlers are transcluded in the context of another tidder that defines these but I wanted it to display the same thing when the “Evaluation” tidder was viewed separately in the story river or when popped out as a separate window (that second part is where things go astray.
So I have a tidder tagged with $:/tags/ViewTemplate that contains:
<$list filter=[is[current]tag[Evaluation]]>
<$let ... some variables redefined ...>
{{}}
</$let>
</$list>
And a tidder with $:/tags/ViewTemplateBodyFilter that contains:
[tag[Evaluation]then[$:/core/ui/ViewTemplate/body/blank]]
and I moved that up just before the “default” ViewTemplateBodyFilter in the list.
Things seem to work well in the story river. The expected content is there in the right context.
But when I “Open in new window” I get the Internal Javascript Error:
Uncaught TypeError: innerListener is not a function
Should this be displayed correctly as a separate window too or is there some other template I need to set up for that?
Thanks,
/Mike