[farcry-dev] Calendar won't close

0 views
Skip to first unread message

Phil Kemp

unread,
Jul 3, 2009, 4:55:08 AM7/3/09
to farcr...@googlegroups.com

Greetings,

I'm running Firefox 3.0 with FarCry 5.1.6 and when I try to select a date
using the calendar, it won't close.

I encountered the same problem on 5.1.1 but fixed it, although I can't
remember where I made the changes. Has anyone else been able to fix this
problem, and if so could they shed some light on which files should be
changed? I've compared the new and old code but everything to do with the
calendar looks identical.

Cheers,
-Phil
--
View this message in context: http://www.nabble.com/Calendar-won%27t-close-tp24319821s621p24319821.html
Sent from the FarCry - Dev mailing list archive at Nabble.com.

"Jørgen M. Skogås"

unread,
Jul 3, 2009, 5:01:14 AM7/3/09
to farcr...@googlegroups.com
Hi Phil,

What locale is in your user setup (Webtop -> Overview -> Edit Your
Profile)?
It works when I use en_AU. If I change to Norwegian No_no, it don't.

Jørgen~

Phil Kemp

unread,
Jul 3, 2009, 5:06:36 AM7/3/09
to farcr...@googlegroups.com

I just found the problem and the solution:

The reason it works fine with en_AU is because that (and the en_US) date
format js files are included in the installation. The no_NO is not, nor is
the en_GB that I'm using.

For some reason, earlier versions of FarCry gave you every js file, whereas
now they are forcing you to accept Australian, American, or errors.

I can't remember where I got all the original js files, but
/farcry/core/webtop/js/dateJS/ should have 157 files in the format
date-xx-XX.js - my install only gave me two!

Jorgen, if you can't find any then let me know and I can see if I can find a
way to send them all to you...

-Phil
--
View this message in context: http://www.nabble.com/Calendar-won%27t-close-tp24319821s621p24319962.html

Knut

unread,
Jul 4, 2009, 8:14:56 AM7/4/09
to farcry-dev
Hi,

I had the same problem with the calendar (running FC 5.1.7). Im using
locale "de_DE". I've found the missing files in an old FC 5.1.0
release. But my calendar (date picker) is still displayed in english
language !

I've tried to change in "/core/tags/farcry/
_farcryOnRequestEnd.cfm" (line 318):

FROM: <cfset lLibraries = listAppend(lLibraries, "/calendar/lang/
calendar-en.js") />
TO: <cfset lLibraries = listAppend(lLibraries, "/calendar/lang/
calendar-de.js") />

After this change the calendar is displayed in german, but ALL date
values are "undefined" !!!
This is probably an existing BUG !

-Knut
> View this message in context:http://www.nabble.com/Calendar-won%27t-close-tp24319821s621p24319962....
Reply all
Reply to author
Forward
0 new messages