Closed Bug 236026 Opened 21 years ago Closed 21 years ago

In <FilterListDialog.js>, "Warning: redeclaration of var item"

Categories

(MailNews Core :: Filters, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.7beta

People

(Reporter: sgautherie, Assigned: sgautherie)

Details

Attachments

(3 obsolete files)

[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7a) Gecko/20040219] (W98SE) { Warning: redeclaration of var item Source File: chrome://messenger/content/FilterListDialog.js Line: 159, Column: 8 Source Code: var item = event.target; } Testcase: 1. MailNews > Tools > Message Filters...
Status: NEW → ASSIGNED
Attached patch (Av1) <FilterListDialog.js> (obsolete) — Splinter Review
Attachment #142598 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #142598 - Attachment is obsolete: true
Attachment #142598 - Flags: review?(neil.parkwaycc.co.uk)
Attached patch (Av1b) <FilterListDialog.js> (obsolete) — Splinter Review
Av1, totally revised.
Attachment #142602 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 142602 [details] [diff] [review] (Av1b) <FilterListDialog.js> >diff -u -p -r1.52 FilterListDialog.js This patch seems to change the indentation of some lines but not others... if you meant to change the indentation, then you should provide two patches, one showing the new indentation and one with the extra -w option to diff showing only the changes that are not indentation. >+ var itemId = event.target.id; It might be an idea to use a slightly more meaningful variable name e.g. itemURI
Attachment #142602 - Flags: review?(neil.parkwaycc.co.uk) → review+
Attachment #142602 - Attachment is obsolete: true
Av1b, with comment 3 suggestion(s).
Comment on attachment 143182 [details] [diff] [review] (Av2) <FilterListDialog.js> [Checked in: Comment 7] Keeping { (Av1b) <FilterListDialog.js> patch 2004-02-29 08:03 PST neil.parkwaycc.co.uk: review+ }
Attachment #143182 - Flags: superreview?(mscott)
Attachment #143182 - Flags: review+
Attachment #143182 - Flags: superreview?(mscott) → superreview+
Attachment #143182 - Flags: approval1.7b?
Comment on attachment 143182 [details] [diff] [review] (Av2) <FilterListDialog.js> [Checked in: Comment 7] a=chofmann for 1.7b
Attachment #143182 - Flags: approval1.7b? → approval1.7b+
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Attachment #143182 - Attachment description: (Av2) <FilterListDialog.js> → (Av2) <FilterListDialog.js> [Checked in: Comment 7]
Attachment #143182 - Attachment is obsolete: true
Target Milestone: --- → mozilla1.7beta
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: