|
|
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
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: tapestry-dev-help@xxxxxxxxxxxxxxxxxx
|
|