Closed
Bug 282242
Opened 20 years ago
Closed 20 years ago
In <pref-mailnewsOverlay.js>, "redeclaration of var mailnewsEnableNews"
Categories
(MailNews Core :: Simple MAPI, defect)
MailNews Core
Simple MAPI
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 102152
People
(Reporter: timeless, Assigned: mcsmurf)
References
()
Details
Attachments
(1 obsolete file)
Warning: redeclaration of var mailnewsEnableNews
Source File: chrome://messenger-mapi/content/pref-mailnewsOverlay.js
Line: 54, Column: 12
Source Code:
var mailnewsEnableNews = document.getElementById("mailnewsEnableNews");| Assignee | ||
Comment 1•20 years ago
|
||
Attachment #174306 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #174306 -
Flags: review+
Comment 2•20 years ago
|
||
Comment on attachment 174306 [details] [diff] [review] Patch > function mailnewsOverlayStartup() { >+ var mailnewsEnableNews = document.getElementById("mailnewsEnableNews"); >+ > mailnewsOverlayInit(); > if (!("mapiPref" in parent)) { > parent.mapiPref = new Object; > parent.mapiPref.isDefaultMailClient = > document.getElementById("mailnewsEnableMapi").checked; Note that if you also moved the mailnewsEnableMapi declaration to the start of the function you could then use it here too.
Attachment #174306 -
Flags: superreview?(neil.parkwaycc.co.uk) → superreview+
Comment 3•20 years ago
|
||
I read my bugmail in the wrong order, bug 102152 shows how it should be done.
Comment 4•20 years ago
|
||
I suggest to resolve this bug as a duplicate of bug 102152 !!?
OS: Windows XP → All
Hardware: PC → All
Summary: redeclaration of var mailnewsEnableNews → In <pref-mailnewsOverlay.js>, "redeclaration of var mailnewsEnableNews"
Target Milestone: --- → mozilla1.8beta1
| Assignee | ||
Comment 5•20 years ago
|
||
Hey, why are you setting a Target Milestone :)? If you want to, resolve this bug as a dupe, but then get sr for your patch and get it checked in.
Comment 6•20 years ago
|
||
The patch is more advanced in bug 102152, even though it should have been posted here, had I found this bug before. *** This bug has been marked as a duplicate of 102152 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Target Milestone: mozilla1.8beta1 → ---
Comment 7•17 years ago
|
||
Comment on attachment 174306 [details] [diff] [review] Patch Obsoleting: this patch never got checked in. (See bug 102152)
Attachment #174306 -
Attachment is obsolete: true
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•