mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 759824 - Doorhanger button callback functions in LoginManagerPrompter.js contain incorrect arguments, r=margaret
This commit is contained in:
parent
c41967887d
commit
355d5f82fa
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user