Ticket #9128 (closed Bug: fixed)

Opened 3 years ago

Last modified 3 years ago

syntax error in manage_jsForm (portal_javascript)

Reported by: dannyb Owned by: mborch
Priority: major Milestone: 3.3
Component: Infrastructure Keywords:
Cc: fschulze

Description

Both firefox and webkit report this error at this position line 14: <![CDATA[\n

End result is that reordering doesn't work without a page load with every click.

Change History

comment:1 Changed 3 years ago by wichert

  • Owner set to dunlapm
  • Cc fschulze added
  • Component changed from Unknown to Infrastructure

comment:2 Changed 3 years ago by dunlapm

  • Owner changed from dunlapm to mborch

in [25260] mborch added the <![CDATA[ tags which are causing this problem. The problem is, these are only needed with XHTML, which the manage pages are not. They are only HTML 4.

comment:3 Changed 3 years ago by wichert

That analysis is not correct. The problem is that the CDATA tags need to be in a javascript comment, otherwise the javascript interpreter will choke on them.

comment:4 Changed 3 years ago by wichert

  • Status changed from new to closed
  • Resolution set to fixed

(In [26476]) Put CDATA start and end markers in a javascript comment. fixes #9128

Note: See TracTickets for help on using tickets.