Hi again!

I created one TEXTAREA field in edition plugin instead of INPUT.
I works, but if user adds string in this TEXTAREA with CRLF (wrap lines),
further edition (selection of this point to edit) fails with error

Error: unterminated string literal
Source: http://imac.local/cartoweb/htdocs/terraphoto.php
String 86, Symbol 92
Source:
feature.attributes = new Array("4","shgsdfh","/terraphoto/ incoming/2249Puerto_Rico.gif","sdhsdfhsdf

(after "sdhsdfhsdf" there was CRLF).

I think I must replace CRLF symbol with <br> (for example) via STR_REPLACE,
but I don't know - where in sources I must insert this replacing.
Or I should do it any other way?

Best regards, Igor.
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to