MantisBT: master d827a08d

Author Committer Branch Timestamp Parent
dregad dregad master 2026-07-18 10:22 master c49629ae
Affected Issues  0020040: Replace jscalendar by a newer widget
 0025681: Problem with date range filter in MantisGraph issues_trend_page.php
Changeset

Fix arbitrary dates Period fields activation

Following the replacement of the jscalendar date picker by jQuery (see
issue 0020040), the from / to date input fields are not activated when
selecting Arbitrary Dates period.

This fixes the markup generated by Period.php to add the calendar icon
as well as the javascript that controls the fields's activation.

Using default date format (normal_date_format) for date picker fields
instead of hardcoded YYYY-MM-DD.

Fixes 0025681

Original 2024 commit adapted following rebase to master and resolution
of merge conflicts caused by introduction of datetimepicker API."

mod - plugins/MantisGraph/core/Period.php Diff File
mod - plugins/MantisGraph/files/MantisGraph.js Diff File