> But, it also leaves an "undefined" in the tiddler where the script is.
store.setTiddlerTag() does not return a value, so you get "undefined"
as output when it occurs in the 'write' clause. To return a blank
string instead of undefined, try adding an extra ""; following the
call to setTiddlerTag(), like this:
<<forEachTiddler
where
'tiddler.tags.containsAll(["foo"])'
write
'store.setTiddlerTag(tiddler.title,true,"bar");"";'
-e
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---