Closed Bug 180281 Opened 22 years ago Closed 22 years ago

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

Categories

(bugzilla.mozilla.org :: General, defect)

defect
Not set
minor

Tracking

()

VERIFIED FIXED

People

(Reporter: malcolm-bmo, Assigned: endico)

References

()

Details

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
Closed: 22 years ago
Resolution: --- → FIXED
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.