[tw] Re: script from button repeats once

2011-04-03 Thread Dave Parker
thanks Eric, you're right of course. I'd upgraded a bunch of plugins but obviously missed that one. I think this is a sign I'll have to figure out the whole sync function... On Apr 2, 11:10 pm, Eric Shulman elsdes...@gmail.com wrote: http://dl.dropbox.com/u/2161814/fake%20patient.html You

[tw] Re: script from button repeats once

2011-04-02 Thread Dave Parker
yes, it happens every time, and the script isn't also in the template. ProblemTemplate4 has a whack-load of things like this in it: | Location:|select [[location@here]] rows:1 allowBlank +BodyLocationTemplateTotal allowEdit| and when the script makes the new tiddler, the here gets replaced with

[tw] Re: script from button repeats once

2011-04-02 Thread whatever
Hi, Dave! I looked at your script and did some testing, but I couldn't replicate your problem. Could you post your file somewhere? Or try using Firebug. w On Apr 2, 8:00 am, Dave Parker cedar...@telus.net wrote: yes, it happens every time, and the script isn't also in the template.

[tw] Re: script from button repeats once

2011-04-02 Thread Dave Parker
Hi w, I tried earlier on to send you the link but it might not have worked... I'll try again: http://dl.dropbox.com/u/2161814/fake%20patient.html I got the firebug firefox extension, but not sure how it works. Thanks again for looking at this. The button in question says start new problem in

[tw] Re: script from button repeats once

2011-04-02 Thread Eric Shulman
http://dl.dropbox.com/u/2161814/fake%20patient.html You are using InlineJavascriptPlugin v1.8.0 (which is over 3 years old!!). The current version is 1.9.6 One of the changes (see v1.9.0) was to automatically add 'return false' handling to onclick scripts. This prevents the double- invocation

[tw] Re: script from button repeats once

2011-04-01 Thread axs
This happens *every* time you click the button? I couldn't replicate your problem using your script, which suggests the issue is not with the script. Do you happen to have this script in ProblemTemplate4? If you do, make sure it has a label just like this one. If it doesn't, that's the a