Closed Bug 251555 Opened 21 years ago Closed 21 years ago

javascript error because updateUnreadCount does't check if Mail toolbar icon is visible

Categories

(Firefox :: Toolbars and Customization, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 251258

People

(Reporter: whimboo, Assigned: bugs)

Details

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040713 Firefox/0.9.1+ If the mail toolbar icon is not put inside the toolbar I get a javascript error when launching Firefox. Error: element has no properties Source File: chrome://browser/content/browser.js Line: 5054 The function updateUnreadCount doesn't check if "document.getElementById("mail-button")" returns a valid object when setting it's attribute afterwards.
Steffen already has a patch for this. *** This bug has been marked as a duplicate of 251258 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
We should have an option to search in comments! :( v.
Status: RESOLVED → VERIFIED
QA Contact: bugzilla → toolbars
You need to log in before you can comment on or make changes to this bug.