Bug 123550 Toggling unread column doesn't properly toggle unread counts in name column

patch by neil@parkwaycc.co.uk r=timeless sr=sspitzer a=asa
This commit is contained in:
timeless%mac.com 2002-03-12 15:34:33 +00:00
Родитель d88b4deaa4
Коммит 1447af025b
1 изменённых файлов: 2 добавлений и 8 удалений

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

@ -654,14 +654,8 @@ function OnFolderUnreadColAttrModified(event)
if (event.attrName == "hidden")
{
var folderNameCell = document.getElementById("folderNameCell");
if (event.newValue == "true")
{
folderNameCell.setAttribute("label", "?folderTreeName");
}
else if (event.attrChange == Components.interfaces.nsIDOMMutationEvent.REMOVAL)
{
folderNameCell.setAttribute("label", "?folderTreeSimpleName");
}
var label = {"true": "?folderTreeName", "false": "?folderTreeSimpleName"};
folderNameCell.setAttribute("label", label[event.newValue]);
}
}