Fixed javascript error when changing time period on time report.
Authored by: jplang 2012-01-24
Parent: [r8700]
Child: [r8702]