Closed Bug 479218 Opened 15 years ago Closed 15 years ago

Full login page onload focus JS fails

Categories

(Bugzilla :: User Interface, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
Bugzilla 3.4

People

(Reporter: wicked, Assigned: mkanat)

References

()

Details

(Keywords: regression, Whiteboard: [blocker will fix])

Full login throws JavaScript error on IE: 'document.forms.login.Bugzilla_login' is null or not an object. Error comes from body onload event JS that tries to focus login field. See account/auth/login.html.tmpl template line 34.

This seems to be a regression from bug 476090 that introduced two additional forms named login on header and footer of all pages. Firefox doesn't seem to show an error but it also doesn't focus the intended field.
This is fixed by bug 493642. We no longer display the login form in the header and footer when we are on the main login page, so JS works correctly (tested with IE6 + 8, Opera, Safari, Firefox).
Assignee: ui → mkanat
Status: NEW → RESOLVED
Closed: 15 years ago
Depends on: 493642
Resolution: --- → FIXED
Whiteboard: [blocker will fix]
Target Milestone: --- → Bugzilla 3.4
You need to log in before you can comment on or make changes to this bug.