Hi
I'm using this script to refresh tiddlers tagged with "TagName".
I also need a simple script to refresh the open tiddler/beeing viewed
- which I will put in the viewtemplate.
Could you spell it out for me - I'm not very good at guessing when it
comes to code and syntax..

<script label="UpdateTagName">
var tag="Tagname";
var tids=store.getTaggedTiddlers(tag);
store.suspendNotifications();
for (var i=0; i<tids.length; i++) { var t=tids[i];
   store.saveTiddler
(t.title,t.title,t.text,t.modifier,t.modified,t.tags,t.fields);
}
store.resumeNotifications();
</script>

YS Måns Mårtensson
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to