Accessibility
Adobe
Sign in My orders My Adobe

Title

Javascript error when using CFTextArea with CFAjaxProxy binding (ColdFusion 8.0)Products affected

Issue

Javascript functions break if a new linecharacter (\n) is entered in a cftextarea and the error "unterminated string constant" is displayed.

Reason

New line characters (\n) were not escaped by cfajaxproxy.

Solution

Replace /CFIDE/scripts/ajax/package/cfajax.js with an updated version.

  1. Rename CFIDE/scripts/ajax/package/cfajax.js to cfajax.orig
  2. Download 70459.zip and unzip cfajax.js to /CFIDE/scripts/ajax/package/.

You should have an updated CFIDE/scripts/ajax/package/cfajax.js and cfajax.orig in the same directory. Cfajax.orig may be deleted once you have tested the updated file.


Doc ID
(kb402688)

Last updated
2008-05-01

Products affected

Contacting Adobe Support

Still need help?
Find out about all your support options.
Contact support