zenphoto/zenphoto — pull request #857 by gjr-osweb (2014-08-28 19:42:03+00:00)
Title: AYS Updates

Added work-arounds for problems when user has auto-fill enabled on
browser (chrome, others). A few formatting changes. Updated AYS script to 1.9.

I have been annoyed by this since AYS was implemented. As other users I am sure:
https://github.com/codedance/jquery.AreYouSure/issues/46
http://www.zenphoto.org/support/topic.php?id=1074500

Finally sat down and figured it out, for me anyway. Any admin page that has a "set password" section, throws the dirty form on load, when the browser has autofill or remember passwords enabled. This is because after the form loads, AYS checks status, and then AFTER the browser autofills some fields. Thus, AYS immediately marks the form dirty.

This fix I would consider temporary. I think we need to provide a more robust solution, at the very least have an option in upcoming release to turn AYS off.