зеркало из https://github.com/mozilla/gecko-dev.git
Bug #284926 --> SMTPs listed in "Outgoing Server" on "Account Settings" panel increases on every account switch (problem in fix for bug 202468)
This commit is contained in:
Родитель
4d8879933e
Коммит
a72a835d7b
|
@ -338,6 +338,10 @@ function fillSmtpServers(smtpServerList, servers, defaultServer)
|
|||
if (!smtpServerList || !servers)
|
||||
return;
|
||||
|
||||
var smtpPopup = document.getElementById('smtpPopup');
|
||||
while (smtpPopup.lastChild.nodeName != "menuseparator")
|
||||
smtpPopup.removeChild(smtpPopup.lastChild);
|
||||
|
||||
var serverCount = servers.Count();
|
||||
for (var i = 0; i < serverCount; i++)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче