phpScheduleIt
May 24, 2013, 04:29:44 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Java error when making reservation  (Read 3748 times)
Zook
Newbie
*

Karma: 0
Posts: 4


« on: June 27, 2006, 04:22:00 PM »

I get a Java script error when trying to make a multiple day reservation. Singel day reservations works just fine but when I click to choose stop date I get an error saying something like:
Row: 1535
Error: 'undefined' is null or not a value

This error occur both in IE 6, and Mozilla 1.5.something.

It could of course be something I did but I am stuck...

Any ideas?
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #1 on: June 28, 2006, 09:55:12 AM »

2 questions...

Any modifications made to the code?
What language file are you using?
Logged
Zook
Newbie
*

Karma: 0
Posts: 4


« Reply #2 on: June 29, 2006, 09:34:57 AM »

No modifications
I use Swedish language file
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #3 on: June 29, 2006, 09:49:23 AM »

This seems to be an issue with the jscalendar swedish translation.  I'll see if a newer version is available that fixes this.
Logged
Zook
Newbie
*

Karma: 0
Posts: 4


« Reply #4 on: June 29, 2006, 04:20:36 PM »

Ok, thanks a lot Nick!
And btw this is by far the best scheduling prog I have ever stumbled across  :wink:
Logged
andrejusc
Newbie
*

Karma: 0
Posts: 11


« Reply #5 on: June 30, 2006, 03:31:58 AM »

Yes, I've noticed similar troubles (and fixed them already) in Lithuanian version. I think the same will be true for Swedish. It's mostly because of absense of these settings inside calendar-language.js script:

Calendar._FD = 1; (this is currently present in Swedish version)
Calendar._TT["WEEKEND"] = "0,6"; (this is absent right now)

and maybe some others.
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #6 on: June 30, 2006, 10:18:43 AM »

Great tip, thanks!

I checked on jscalendar and there hasn't been an open source release in over a year.  Tips like the one andrejusc gave are probably our best bet in resolving these issues.
Logged
Zook
Newbie
*

Karma: 0
Posts: 4


« Reply #7 on: July 04, 2006, 03:00:44 AM »

Calendar._TT["DAY_FIRST"] = "Display %s first";

This one was also absent in the Swedish version. I also replaced the function for displaying month short names back to the original function and it all seem to work fine now.
Thanks a lot guys!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!