Javascript error when using CFTextArea with CFAjaxProxy binding (ColdFusion 8.0)
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.
- Rename CFIDE/scripts/ajax/package/cfajax.js to cfajax.orig
- 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.
This content requires Flash
To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.
Download the free Flash Player now!
