MantisBT: master efbfd052

Author Committer Branch Timestamp Parent
dregad dregad master 2012-12-04 09:58 master 7c46e287
Affected Issues  0015255: Date filter fields are disabled when $g_use_javascript = OFF
Changeset

Enable filter date fields by default when $g_use_javascript = OFF

With javascript disabled, when ticking 'use date filters' checkbox in
view issues page, the associated selection fields to pick the date
criteria remain disabled, preventing date filtering.

The code now detects the state of $g_use_javascript and sets the
'disabled' state of the date selection fields accordingly.

Also removes 'Undefined variables' system notices.

Fixes 0015255

mod - core/filter_api.php Diff File