jmack
Newbie
Posts: 1
Registered: 3/17/2006
Location: San Francisco, CA
Member Is Offline
|
| posted on 3/17/2006 at 06:17 PM |
|
|
Netscape 8.1 Incompatibility Fix (Firefox 1.5 popups to tabs forced)
Tigra Calendar 3.2 does not work with Netscape 8.1 or Firefox 1.5 when the user forces popups into tabs. The problem exists when a user selects a date
from the popup, and the date is not propagated to the form field. Javascript errors complaining about the ojb_caller are received. The error exists
because the script attempts to close the window before assigning the value, and somehow it loses the caller. The simple fix is to assign the value,
then close the window.
Find this code, which should begin on line 77:
if (b_close) {
window.close();
obj_caller.target.value = (document.cal
? obj_caller.gen_tsmp(dt_datetime)
: obj_caller.gen_date(dt_datetime)
);
}
Replace with this code:
if (b_close) {
obj_caller.target.value = (document.cal
? obj_caller.gen_tsmp(dt_datetime)
: obj_caller.gen_date(dt_datetime)
);
window.close();
}
|
|
|
|