folderDisplay.js assumes isNewsFolder to enable junk status

NEW
Unassigned

Status

Thunderbird
Folder and Message Lists
9 years ago
9 years ago

People

(Reporter: rkent, Unassigned)

Tracking

x86
Windows XP

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
In mail/base/content/folderDisplay.js we have the following code to decide whether to display the junk status column:

349     junkStatusCol: function(viewWrapper) {
350       return !viewWrapper.isNewsFolder;
351     },

In Bug 496015 -  'Enable junk UI elements when rss or news junk is enabled' I attempted to ensure that all places in the UI support the correct properties in determining if junk status was enabled on a folder, but apparently I missed this spot. Not sure why, I thought that I had tested columns.

The effect of this is that the junk status column appears for RSS items where it is invalid, and it does not appear/hide correctly when extensions enable/disable junk analysis of a folder.
You need to log in before you can comment on or make changes to this bug.