Closed Bug 220768 Opened 21 years ago Closed 21 years ago

Warning: assignment to undeclared variable gDefaultSpecialFolderPickerMode

Categories

(SeaMonkey :: MailNews: Account Configuration, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.6alpha

People

(Reporter: stephend, Assigned: stephend)

Details

Attachments

(1 file, 1 obsolete file)

Setup a new Mail account (POP3 was the type that exhibited this):

Warning: assignment to undeclared variable gDefaultSpecialFolderPickerMode
Source File: chrome://messenger/content/AccountWizard.js
Line: 87

http://lxr.mozilla.org/seamonkey/source/mailnews/base/prefs/resources/content/AccountWizard.js#87
-> me
Assignee: sspitzer → technutz
Attachment #132399 - Flags: superreview?(bzbarsky)
Attachment #132399 - Flags: review?(neil.parkwaycc.co.uk)
Accepting bug.
Status: NEW → ASSIGNED
Summary: assignment to undeclared variable gDefaultSpecialFolderPickerMode → Warning: assignment to undeclared variable gDefaultSpecialFolderPickerMode
Comment on attachment 132399 [details] [diff] [review]
Declare with var, since this is a global anyway.

I wouldn't call it a variable as such, it doesn't vary :-P
Attachment #132399 - Flags: review?(neil.parkwaycc.co.uk) → review-
Attachment #132399 - Flags: superreview?(bzbarsky)
Attachment #132399 - Flags: review-
Attachment #132403 - Flags: superreview?(bzbarsky)
Attachment #132403 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #132403 - Flags: review?(neil.parkwaycc.co.uk) → review+
Comment on attachment 132403 [details] [diff] [review]
Declare using const type.

sr=bzbarsky
Attachment #132403 - Flags: superreview?(bzbarsky) → superreview+
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
OS: Windows 2000 → All
Hardware: PC → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.6alpha
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: