bug 106866, unable to close password manager dialog by pressing OK, r=jag, sr=alecf

This commit is contained in:
morse%netscape.com 2001-10-29 23:10:50 +00:00
Родитель 7bbe9643c9
Коммит 30d15cef50
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -399,15 +399,15 @@ function onOK()
deletedSignons = goneSS.split(",");
var signonCount;
for (signonCount=0; signonCount<deletedSignons.length-1; signonCount++) {
passwordmanager.removeUser(signons[deletedSignons[signonCount]].host,
signons[deletedSignons[signonCount]].rawuser);
var index = parseInt(deletedSignons[signonCount]);
passwordmanager.removeUser(signons[index].host, signons[index].rawuser);
}
var deletedRejects = [];
deletedRejects = goneIS.split(",");
var rejectCount;
for (rejectCount=0; rejectCount<deletedRejects.length-1; rejectCount++) {
passwordmanager.removeReject(rejects[deletedRejects[rejectCount]].host);
passwordmanager.removeReject(rejects[parseInt(deletedRejects[rejectCount])].host);
}
var result = "|goneC|"+goneNC+"|goneP|"+goneNP+"|";