Bug 977592 - Don't autofocus the password field in auth dialogs. r=margaret

This commit is contained in:
Wes Johnston 2014-03-04 08:31:06 -08:00
parent 1aa3bc5d5b
commit 0297dfd12b

View File

@ -335,7 +335,7 @@ InternalPrompt.prototype = {
aTitle, aText, aUsername, aPassword, aCheckMsg, aCheckState) {
let p = this._getPrompt(aTitle, aText, null);
this.addTextbox(p, aUsername.value, true, PromptUtils.getLocaleString("username", "passwdmgr"));
this.addPassword(p, aPassword.value, true, PromptUtils.getLocaleString("password", "passwdmgr"));
this.addPassword(p, aPassword.value, false, PromptUtils.getLocaleString("password", "passwdmgr"));
this.addCheckbox(p, aCheckMsg, aCheckState);
let data = this.showPrompt(p);