Hi Eric i get this error: TypeError: title.lastIndexOf is not a function However I cannot find out what the problem is by myself...
YS Måns Mårtensson On 13 Apr., 21:41, Eric Shulman <[email protected]> wrote: > Try this: > > <script label="add brackets"> > var tid=store.getTiddler('SomeTiddler'); > var txt='[['+tid.text.split('\n').join(']]\n[[')+']]'; > store.saveTiddler > (tid,tid,txt,tid.modifier,tid.modified,tid.tags,tid.fields); > </script> > > enjoy, > -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 -~----------~----~----~----~------~----~------~--~---

