Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Errors with Calendar PRO in combination with
Junior Member

Posts: 2
Registered: 2/18/2006
Member Is Offline
posted on 2/18/2006 at 01:30 AM Reply With Quote
Errors with Calendar PRO in combination with

hi i'm using calendar pro the first time. for visual effects, drag'n'drop i use the library ( each for it self works fine. on one page i can create a nice calendar on the other page i have wunderful effects with but when i put them together, the calendar won't work... the javascript-console tells about:

Error: unterminated regular expression literal
Sourcefile: calendar.js
Row: 12
SourceCode: /function (iterator) {

I know that uses the Prototype Javascript library from

Can anybody help me?

View User's Profile View All Posts By User U2U Member

Posts: 1
Registered: 11/6/2006
Member Is Offline
posted on 11/6/2006 at 10:28 AM Reply With Quote


I'm a little late on this one, but I've experienced the same problem, so I hope my reply will help.

Actually the issue is that Tigra Calendar is using a "for (foo in bar)" construction over an Array, which is not supposed to be the way to iterate over an array.
That error happens when they try to match the date (iirc) against a list of patterns stored in an Array, one by one.

Prototype extends the Array object with a few other methods, and since the for (... in ...) loops over all methods of an object, it will try at some time to eval "/function (iterator) {....}", which returns an error.

The fix would be to stop using the for/in loop on Arrays but use the index instead, or to store such "arrays" in objects instead.

Renaud Drousies
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Tigra Calendar
Product Demonstrations Live Demos
Free Download Free Download
Product Documentation Documentation
Support Forum Support Forum
Tigra Calendar PRO
Product Demonstrations Live Demos
Popup Calendar
Onpage Calendar
Modal Calendar
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart

Go To Top

Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004