mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
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:
parent
9ffb53af67
commit
751ca6a031
@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user