Bug 313204 - Confirm Password Change dialog when no change in password. r=gavin, a=mconnor

This commit is contained in:
dolske@mozilla.com 2007-09-24 23:14:57 -07:00
parent 0103ed2e3e
commit b684c2da5b

View File

@ -1075,7 +1075,7 @@ LoginManager.prototype = {
}
// XXX: we could do better on forms with 2 or 3 password fields.
var passwordField = pwFields[pwFields.length - 1].element;
var passwordField = pwFields[0].element;
// XXX this would really be cleaner if we could get at the
// AutoCompleteResult, which has the actual nsILoginInfo for the