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: firefox and calendar
altai
Junior Member

Posts: 2
Registered: 3/18/2005
Member Is Offline
posted on 3/18/2005 at 09:59 PM Reply With Quote
firefox and calendar


...this might come in handy...

for some odd reason I pulled up the live demo and tried the calendar, it works in IE but acts strangely in Firefox (latest, stable)
the calendar can pull dates from the input boxes (parse + select in the popup) but is unable to put new values in its place.
looked in the code: found a line that fixed the problem.
in file "calendar.html"
in function "set_datetime(..)" about halfway down:

Code:

if (b_close) {
window.close();
obj_caller.target.value = (document.cal
? obj_caller.gen_tsmp(dt_datetime)
: obj_caller.gen_date(dt_datetime)
);


culprit is "window.close()" being called before update

changed said code to:

Code:

if (b_close) {
obj_caller.target.value = (document.cal
? obj_caller.gen_tsmp(dt_datetime)
: obj_caller.gen_date(dt_datetime)
window.close();
);


this seemed to fix the problem.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Free Download Free Download
Product Documentation Documentation
Support Forum Support Forum
 

Go To Top


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