ifit / Enhancements

1 stars 0 forks source link

Admin tool - User - changing expiration #107

Open joshwouden opened 9 years ago

joshwouden commented 9 years ago

From @joshwouden on February 11, 2015 19:27

Enhancement Details


Description On a user detail page of our admin tool, there is a field to change the account expiration date. Focusing this field brings up a calendar popup where you can select a new date.

Attempting to change the date by manually entering a date (or changing anything--e.g. 2015 to 2016) without using the calendar popup returns an "undefined NaNth 0NaN". Clicking save after doing this resets the date to Dec 31, 1969.

We may not have ever intended to have the ability to manually edit this field, but without this, there is no way to change the to a date in the past (not really necessary, of course, but would be useful for testing).

Screen-cap udavnqvb4r

Reproduction Steps Log in with an admin enabled account Go to admin.ifit.com Click User Enter the name of a test user Attempt to manually edit the Account Expiration field

Notes

Copied from original issue: ifit/ifit#6719