Closed Bug 300384 Opened 19 years ago Closed 19 years ago

Edit filter rule gives JS error

Categories

(MailNews Core :: Filters, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 300312

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

Details

Attachments

(1 file)

Using TB Build 20050705 and SM Build 2005070506 on Win XP SP2
Steps to reproduce
1. Create a filter
2. Close dialog and then open Tools, Message Filters
3. Select rule and click on edit

Expect result
1. Filter Rules dialog opens with no JS errors

Actual result
1. Filter Rules dialog opens with following error in JS console:
Error: document.getElementById("less0") has no properties
Source File: chrome://messenger/content/FilterEditor.js
Line: 380
Attached patch Simpl fix v0.1 β€” β€” Splinter Review
This patch:
* Adds back setting of ids when less and more buttons are created
Assignee: nobody → bugzilla
Status: NEW → ASSIGNED
Attachment #188950 - Flags: superreview?(bienvenu)
Attachment #188950 - Flags: review?(bienvenu)
Comment on attachment 188950 [details] [diff] [review]
Simpl fix v0.1

Neil came up with an addition by subtraction fix in bug 300384
Attachment #188950 - Flags: superreview?(bienvenu)
Attachment #188950 - Flags: review?(bienvenu)
Attachment #188950 - Flags: review-
Might as well mark this as a dupe of 30312 then :-)

*** This bug has been marked as a duplicate of 30312 ***
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Bug 300312 even, oops

*** This bug has been marked as a duplicate of 300312 ***
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → DUPLICATE
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: