зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
d88b4deaa4
Коммит
1447af025b
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче