And this:
if (isNaN(sec))
{
alert("Bug or Feature?");
return;
}
comes out as:
if (isNaN(sec))
The rest is dropped. I switched between 2.34 and 2.68 with the same
browser.
Greetings, Martin
On Mar 29, 8:53 pm, Martin <[email protected]> wrote:
> There is a difference in the browser page source.
>
> v2.34 keeps the + signs from my code.embed.file
> v2.68 leaves them out. There are no + signs in the browser page
> source.
>
> This line comes out as:
> v2.34: (i = 0; i <len; i++) {
> v2.68: (i = 0; i <len; i ) {
>
> v2.34: document.form3.mm.value + "/" + document.form3.dd.value + "/
> v2.68: document.form3.mm.value "/" document.form3.dd.value "/
>
> How can I preserve the script? I have it inside <code>
>
> Greetings, Martin
>
> On Mar 29, 2:05 pm, Martin <[email protected]> wrote:
>
> > Just upgraded from 2.34 to 2.68 finding that my javascripts are
> > broken.
>
> > I used in config.php something like:
>
> > $BOLTformJs['collect'] = "onChange='updateNameFields1(this)'";
>
> > I set up a code.embed.myscript page and used in my form
>
> > <embed myscript> and "js=collect"
>
> > what used to work fine.
>
> > Greetings, Martin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" 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/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---