View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010922 | mantisbt | bugtracker | public | 2009-09-10 04:18 | 2009-10-07 14:19 |
Reporter | dhx | Assigned To | dhx | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.0rc2 | ||||
Target Version | 1.2.0rc2 | Fixed in Version | 1.2.0rc2 | ||
Summary | 0010922: Prevent jscalendar from being imported more than once | ||||
Description | jscalendar doesn't work if it's included more than once (recursion error according to Firefox's Error Console). The date_print_calendar() function always used to include the javascript each time it was called. However this function can be called multiple times on a page load and it therefore shouldn't include the same javascript/css files each time. This function should be changed to import the javascript/css files only on the first instance. | ||||
Tags | No tags attached. | ||||
MantisBT: master 2a53ece7 2009-09-10 04:16 Details Diff |
Fix 0010922: Prevent jscalendar from being imported more than once jscalendar doesn't work if it's included more than once (recursion error according to Firefox's Error Console). The date_print_calendar() function always used to include the javascript each time it was called. However this function can be called multiple times on a page load and it therefore shouldn't include the same javascript/css files each time. This function has been changed to import the javascript/css files only on the first instance. |
Affected Issues 0010922 |
|
mod - core/date_api.php | Diff File | ||
MantisBT: master-1.2.x 3773caf4 2009-09-10 04:16 Details Diff |
Fix 0010922: Prevent jscalendar from being imported more than once jscalendar doesn't work if it's included more than once (recursion error according to Firefox's Error Console). The date_print_calendar() function always used to include the javascript each time it was called. However this function can be called multiple times on a page load and it therefore shouldn't include the same javascript/css files each time. This function has been changed to import the javascript/css files only on the first instance. |
Affected Issues 0010922 |
|
mod - core/date_api.php | Diff File |