[ http://issues.apache.org/jira/browse/TAPESTRY-275?page=all ]
Howard M. Lewis Ship reassigned TAPESTRY-275: --------------------------------------------- Assign To: Howard M. Lewis Ship > DatePicker causes a javascript error at a choice of any Friday > -------------------------------------------------------------- > > Key: TAPESTRY-275 > URL: http://issues.apache.org/jira/browse/TAPESTRY-275 > Project: Tapestry > Type: Bug > Components: Contrib > Versions: 3.0.1 > 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 > > 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]