Javascript Calendar function |
|||
|---|---|---|---|
| Date: | 09/21/2008 | Severity: | Minor |
| Status: | Resolved | Reporter: | TonMonde |
| Version: | EE 1.6.4 | Assigned To: | Not Assigned |
| Keywords: | Control Panel, Publish | ||
Details
In the Publish/Edit pages, the Javascript function “activate_calendars” is always called when the page is loaded (event “onload” of the tag <body>).
I think this function must not be called when the Date Fields section is not displayed, ie when the administrator chose not to display this section in the “Publish Page Customization” page.
There is a javascript error because the function “activate_calendars” calls the function “update_calendar” which is not defined/embedded.
Best regards.
