Javascript error on b.m.o - document.forms.f.id is null or not an object

VERIFIED FIXED

Status

()

bugzilla.mozilla.org
General
--
minor
VERIFIED FIXED
16 years ago
7 years ago

People

(Reporter: Malcolm Rowe, Assigned: Dawn Endico)

Tracking

Details

(URL)

(Reporter)

Description

16 years ago
I can't believe no one has reported this yet, so perhaps this is a duplicate.

As mentioned in bmo-regressions (bug 179176), the QuickSearch form has been 
commented out (bug 179500), but the code to focus the textbox remains.  Every 
visitor to b.m.o gets a Javascript error, which (for most IE users) results in 
an alert popup - very annoying.

Of course, when QuickSearch is reinstated on b.m.o, this bug will become 
irrelevant, but until then, it's very annoying.

Original report from bug 179176:

------- Additional Comment #40 From jvance@swcp.com 2002-11-12 11:35 ------- 
JavaScript bug:

Line 111,
"document.forms.f.id is null or not an object"

URL: http://bugzilla.mozilla.org

Platform:  Windows NT 4.0 SP6, IE 6 SP1


------- Additional Comment #41 From jvance@swcp.com 2002-11-12 11:41 ------- 
More on Javascript problem.

Cause:

The form 'f' has been commented out.  Thus, there is no form element to take 
focus.

Solution:
comment out line 111.
Fixed.
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED
(Reporter)

Comment 2

16 years ago
Verified by inspection
Status: RESOLVED → VERIFIED
Component: Bugzilla: Other b.m.o Issues → General
Product: mozilla.org → bugzilla.mozilla.org
You need to log in before you can comment on or make changes to this bug.