Checklist not saving date-only changes.

If you have a problem with a non-forum page of the site, please post here so I can take a look. I appreciate being notified so I can make it right. -Bill M.
Forum rules
  • This is a mountaineering forum, so please keep your posts on-topic. Posts do not all have to be related to the 14ers but should at least be mountaineering-related.
  • Personal attacks and confrontational behavior will result in removal from the forum at the discretion of the administrators.
  • Do not use this forum to advertise, sell photos or other products or promote a commercial website.
  • Posts will be removed at the discretion of the site administrator or moderator(s), including: Troll posts, posts pushing political views or religious beliefs, and posts with the purpose of instigating conflict within the forum.
For more details, please see the Terms of Use you agreed to when joining the forum.
Post Reply
User avatar
CommanderDawn
Posts: 4
Joined: 8/21/2021
14ers: 45  4 
13ers: 3
Trip Reports (0)
 

Checklist not saving date-only changes.

Post by CommanderDawn »

On my checklist I have several entries that were converted to the new format with default dates of 1/1/2021 and 7/1/2021.

I noticed today that if I change ONLY the date on them and hit save, the page appears to save and reload, but the change didn't take effect. If change the date AND also change something else (ex: also mark the Solo checkbox), then date is also then saved.

I left Humboldt Peak on my checklist in this state if that helps for debugging.
User avatar
CommanderDawn
Posts: 4
Joined: 8/21/2021
14ers: 45  4 
13ers: 3
Trip Reports (0)
 

Re: Checklist not saving date-only changes.

Post by CommanderDawn »

As an update, this happens when the DatePicker is used, as the picker's update to the edit box appears not to trigger the "areyousure" form to update itself.

I suspect one way to solve is in the climbEdit() DatePicker onSelect function, it just needs to have a "jqy('#themainform').trigger('checkform.areYouSure');" (I didn't test).
Post Reply