Closed
Bug 203251
Opened 22 years ago
Closed 22 years ago
Cancelling Add Account Wizard gives error message in JS console
Categories
(SeaMonkey :: MailNews: Account Configuration, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: iannbugzilla, Assigned: iannbugzilla)
Details
Attachments
(1 file)
593 bytes,
patch
|
sspitzer
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
Using BuildID 2003041808 on WinXP SP1
Steps to reproduce
1. Go into MailNews
2. Select Edit, Mail & Newsgroups Account Settings
3. Click on Add Account button
4. Click on cancel
Actual Results
1. Following error message appears in JS console:
Error: gNewAccountToLoad is not defined
Source File: chrome://messenger/content/accountUtils.js
Line: 241
Expected Result
1. No error message
Fix:
Put a something along the lines of gNewAccountToLoad = null; as the first line
of the function msgOpenAccountWizard() in accountUtils.js
I think this error occurs because gNewAccountToLoad is only set in
msgMail3PaneWindow.js and the function msgOpenAccountWizard() is called from
more than just the 3 Pane Window. So the declaration probably has to be done in
accountUtils.js as well.
Sets gNewAccountToLoad to null at beginning of msgOpenAccountWizard function
![]() |
||
Comment 5•22 years ago
|
||
Comment on attachment 121599 [details] [diff] [review]
Simple patch v1.0
sr=me, but have Seth take a look at this, please...
(also, does that need to be var gNewAccountToLoad? or is it already declared?)
Attachment #121599 -
Flags: superreview+
Attachment #121599 -
Flags: review?(sspitzer)
It's declared in msgMail3PaneWindow.js, line 64 :
var gNewAccountToLoad = null;
Updated•22 years ago
|
Attachment #121599 -
Flags: review?(sspitzer) → review+
Comment 7•22 years ago
|
||
fixed. thanks ian.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
Comment 8•19 years ago
|
||
Verified FIXED; no JS errors in the console using trunk 2006-01-12-10 of SeaMonkey under Windows XP.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•