Hi Danielle, I can't comment on the JS appearing multiple times etc, but you are quite right, embedded javascript should *never* contain the '<' character in an XHTML document, so this is a bug, one way or the other.
regards, Darryl Dixon Winterhouse Consulting Ltd http://www.winterhouseconsulting.com On Thu, Apr 30, 2009 at 9:35 AM, danielle davout <[email protected]>wrote: > > Is it "normal" that on the same page, /@@manage-getpaid-content-types > the same javascript appears 3 times ? > I know little about the javascript, but it sounds strange. > In > if (toSel.selectedIndex == -1) > selectionError(); > else if (toSel.options[0].selected) > alert("Cannot move further up!"); > else for (var i = 0; i < toSel.length; i++) > if (toSel.options[i].selected) > { > swapFields(toSel.options[i-1], toSel.options[i]); > copyDataForSubmit(name); > } > the < gives way to the error > ./browser/templates/ordered-selection.pt:72:26: > -FATAL- - ERROR in document: > <unknown>:72:26: not well-formed (invalid token) > when the script i18n.sh is run > > and W3c Validator find 20 errors the first about the < not being escaped. > > Another question, why is there some scripts registred and some used > directly ? Is there good reason to choose one way from the other one ? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "getpaid-dev" 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/getpaid-dev?hl=en -~----------~----~----~----~------~----~------~--~---
