mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1177774 - Disable warnings for "aText". r=margaret
This commit is contained in:
parent
2c77fdc73a
commit
28d23cb8c5
@ -394,11 +394,12 @@ InternalPrompt.prototype = {
|
||||
[checkMsg, check] = PromptUtils.getUsernameAndPassword(foundLogins, aUser, aPass);
|
||||
}
|
||||
|
||||
// (eslint-disable: see bug 1177904)
|
||||
let ok = false;
|
||||
if (aUser)
|
||||
ok = this.nsIPrompt_promptUsernameAndPassword(aTitle, aText, aUser, aPass, checkMsg, check);
|
||||
ok = this.nsIPrompt_promptUsernameAndPassword(aTitle, aText, aUser, aPass, checkMsg, check); // eslint-disable-line no-undef
|
||||
else
|
||||
ok = this.nsIPrompt_promptPassword(aTitle, aText, aPass, checkMsg, check);
|
||||
ok = this.nsIPrompt_promptPassword(aTitle, aText, aPass, checkMsg, check); // eslint-disable-line no-undef
|
||||
|
||||
if (ok && canSave && check.value)
|
||||
PromptUtils.savePassword(hostname, realm, aUser, aPass);
|
||||
|
Loading…
Reference in New Issue
Block a user