Hi, I have this script that whatever (the group member) very kindly wrote for me to solve a problem (from here):
http://groups.google.com/group/tiddlywiki/browse_frm/thread/84b79f4dbb77dcf5/c283d8b92084526e#c283d8b92084526e , and I've been staring at it for a while now and can't figure out why, when I press the button, it runs properly, asking for the title of the new problem, makes the new tiddler based on a template and the new name, opens it (all good up to this point), but then it pops up a new input box to repeat the whole process over again (only one more time) making a second tiddler if you don't click cancel. Can anyone see why this would happen? Here's the script: {{scriptbutton{ <script label="start new problem"> var title=prompt("Problem name","type here"); if(!title)return; if(store.tiddlerExists(title)) { if(! confirm(config.messages.overwriteWarning.format([title.toString()]))) return null;} var tags="ProblemsList"; store.saveTiddler( title, title, store.getTiddlerText('ProblemTemplate4').replace(/here/g, title), config.options.txtUserName, new Date(), tags); autoSaveChanges(null,[tiddler]); story.displayTiddler(null,title); </script> }}} thank you, Dave -- 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.

