Friday, 17 August 2007

Bug: Diet calculator end date extension in static update

The diet calculator static update performed when JavaScript is disabled did not regenerate the table of years used in the selection boxes for Start and End dates. As a consequence, if the user adjusted the calorie balance or other parameters which caused the end date to extend to a year beyond the previous end year plus one, no year would be selected in the End date box, defaulting to the first year in the list. I added a call to ``Generate array of years for diet calculator selection'' at the completion of a static update in which one or more fields were changed.

No comments: