Swarthmore / litterfall

Application and Scripts used for the Litterfall Project
0 stars 1 forks source link

when editing a diameter entry - chagning the date, then changing it back again will keep you from being able to submit #11

Closed mpitser closed 11 years ago

mpitser commented 11 years ago

this bug came up after fixing another: by disallowing a user to add a date that is already added, it will prevent you from saving an edited entry if you mess with the date.

mpitser commented 11 years ago

in validateDate function in main.js, we used the index of the row to remove the original date from the list of dates the new date can't match. Now date validation should all work fine.