[ http://issues.apache.org/jira/browse/TAPESTRY-275?page=all ]
Howard M. Lewis Ship closed TAPESTRY-275:
-----------------------------------------
Fix Version: 4.0
Resolution: Fixed
> Single quotes in a localization of DatePicker strings causes a failure
> ----------------------------------------------------------------------
>
> Key: TAPESTRY-275
> URL: http://issues.apache.org/jira/browse/TAPESTRY-275
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 3.0.1, 4.0
> Environment: Windows XP SP2, IE 6 or Opera 7, UKRAINIAN locale [uk],
> windows-1251 charcode
> Reporter: Igor Grimaylo
> Assignee: Howard M. Lewis Ship
> Priority: Minor
> Fix For: 4.0
>
> There is an apostrophe in a word Friday in the Ukrainian language
> (п'ятниця).
> So javascript
> org\apache\tapestry\form\DatePicker.js
> in line 781
> frm = eval("frm.replace(/\\b" + sect + "\\b/,'" + bits[sect] + "');");
> causes a syntax error.
> I have replaced this line as follows
> frm = eval("frm.replace(/\\b" + sect + "\\b/,\"" + bits[sect] + "\");");
> It is thought will work in all languages correctly
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]