GNOME Bugzilla – Bug 631372
Preferences page gives no indication that password change was successful
Last modified: 2010-12-19 23:56:33 UTC
1. Go to Preferences 2. Fill out Change Password form 3. Click Save Expected results: Change Password form fields clear, and a "password changed successfully" message appears. Actual results: Change Password form fields remain filled with the same data, and no message appears, misleading the user into thinking nothing happened. Clicking Save again at this point will show an error message about having the wrong Old Password, because the password really *was* changed.
Created attachment 176476 [details] [review] display "password changed" message
Created attachment 176477 [details] [review] clear password form
Created attachment 176480 [details] [review] clear password form This is the same patch as before. I just added extra information to the commit message.
Hey Natan, thanks for the patch! I'm kind of against bringing in a pretty sizeable library dependency for only one use, when the same action could be completed very simply without it. Would you mind rewriting your code to avoid the dependency on jQuery.Form? Thanks!
Natan: Something along the lines of this should work using only jquery. $('.input-form input[type="password"]').val("")
Review of attachment 176476 [details] [review]: This one looks good to me. Same comment as Brad on the other one.
Created attachment 176712 [details] [review] clear password form
Thanks, Jeff. The above patch uses jquery directly, and it works exactly as you recommended.
Nice work Natan. Your changes have been pushed: http://git.gnome.org/browse/snowy/log/