mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-10 13:54:27 +00:00
bug 45454, blank username is not selectable, r=jrgm
This commit is contained in:
parent
825776d19b
commit
76efee7a65
@ -106,7 +106,11 @@ function LoadSignons()
|
||||
Components.classes["component://netscape/network/standard-url"]
|
||||
.createInstance(Components.interfaces.nsIURI);
|
||||
uri.spec = site;
|
||||
if (user.username) {
|
||||
user = uri.username;
|
||||
} else {
|
||||
user = "<>";
|
||||
}
|
||||
}
|
||||
AddItem("savesignonlist",[site,user],"signon_",i-1);
|
||||
}
|
||||
|
@ -73,6 +73,9 @@ function selectDialogOnLoad() {
|
||||
|
||||
for ( i = 2; i <= numItems+1; i++ ) {
|
||||
var newString = param.GetString( i );
|
||||
if (newString == "") {
|
||||
newString = "<>";
|
||||
}
|
||||
dump("setting string "+newString+"\n");
|
||||
elements[i-2] = AppendStringToTreelist(list, newString);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user