You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/11/20 17:10:27 UTC
[jira] Assigned: (TAPESTRY-275) DatePicker causes a javascript error at a choice of any Friday
[ 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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org