Closed Bug 911454 Opened 11 years ago Closed 11 years ago

opening an .eml file in seamonkey throws exceptions

Categories

(SeaMonkey :: MailNews: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.23

People

(Reporter: mkmelin, Assigned: mkmelin)

Details

Attachments

(1 file)

Opening an .eml file throws some exceptions since folderArray[0] is undefined in IsAccountOfflineEnabled() if (selectedFolders && (selectedFolders.length == 1)) return selectedFolders[0].supportsOffline; Error: selectedFolders[0] is undefined Source File: chrome://messenger/content/mailWindowOverlay.js Line: 2224
Attachment #798163 - Flags: review?(iann_bugzilla)
> + let msgFolder = GetLoadedMsgFolder(); > + return msgFolder ? [msgFolder] : []; The prevailing style in this file is to use |var| instead of |let| (unless 'let' is needed in subscopes e.g. if (foo) { let bar = ...}
Comment on attachment 798163 [details] [diff] [review] bugXXX_suite_exceptions.patch r=me with the change that Ratty mentioned (stealing my thunder again)
Attachment #798163 - Flags: review?(iann_bugzilla) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.23
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: