Thanks Eric, this looks promising.
Now this works:
<span macro="hideWhenTagged Locked">
But this doesn't:
<span macro="hideWhen [[tiddler.tags.contains('Locked') ||
window.location.protocol!='file:']]"></span>
nor does the simpler:
<span macro="hideWhen tiddler.tags.contains('Locked')"></span>
nor this one:
<span macro="hideWhen window.location.protocol!='file:'"></span>
I am editing the MptwTheme ViewTemplateToolbar
(and yes I am saving and reloading everytime).
Puzzled,
Patrick.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---