Bug 759824 - Doorhanger button callback functions in LoginManagerPrompter.js contain incorrect arguments, r=margaret

This commit is contained in:
Mark Capella 2012-08-14 21:37:06 -04:00
parent c41967887d
commit 355d5f82fa

View File

@ -221,7 +221,7 @@ LoginManagerPrompter.prototype = {
label: rememberButtonText,
accessKey: rememberButtonAccessKey,
popup: null,
callback: function(aNotificationBar, aButton) {
callback: function() {
pwmgr.addLogin(aLogin);
}
},
@ -231,7 +231,7 @@ LoginManagerPrompter.prototype = {
label: neverButtonText,
accessKey: neverButtonAccessKey,
popup: null,
callback: function(aNotificationBar, aButton) {
callback: function() {
pwmgr.setLoginSavingEnabled(aLogin.hostname, false);
}
},
@ -362,7 +362,7 @@ LoginManagerPrompter.prototype = {
label: changeButtonText,
accessKey: changeButtonAccessKey,
popup: null,
callback: function(aNotificationBar, aButton) {
callback: function() {
self._updateLogin(aOldLogin, aNewPassword);
}
},
@ -372,7 +372,7 @@ LoginManagerPrompter.prototype = {
label: dontChangeButtonText,
accessKey: dontChangeButtonAccessKey,
popup: null,
callback: function(aNotificationBar, aButton) {
callback: function() {
// do nothing
}
}