Closed Bug 271242 Opened 20 years ago Closed 20 years ago

When going to either Tabular Reports or Graphical Reports, a javascript error occurs.

Categories

(Bugzilla :: Query/Bug List, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bmccord, Assigned: justdave)

References

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
Build Identifier: 

The javascript error that occurs is:

document.forms.queryform.short_desc is null or not an object.

It occurs because of the line:

          document.forms['queryform'].short_desc.focus(); 

from the form.html.tmpl file.  If the 'queryform' is changed to 'reportform' 
it appears to work, but I don't know what side effects this may have.

Reproducible: Always
Steps to Reproduce:
1.Start a Browser and navigate to Bugzilla
2.Go to the reports section.
3.Click on Tabular Reports or Graphical Reports.

Actual Results:  
Since I have JavaScript error alerts enabled in my browser, I got a popup with:

A Runtime Error has occured.
Do you wish to Debug?

Line: 367
Error: 'document.forms.queryform.short_desc' is null or not an object

Expected Results:  
No error.
If this can be confirmed, we should fix it before releasing 2.20
Flags: blocking2.20?
*** Bug 279801 has been marked as a duplicate of this bug. ***
Can't confirm this on cvs tip of today and IE 6.0.2900.2180 on a XP SP2 system.

This happens to be already fixed by a checkin in bug 224208. It removed the
quotes around the queryform.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
*** Bug 291462 has been marked as a duplicate of this bug. ***
Flags: blocking2.20?
*** Bug 301674 has been marked as a duplicate of this bug. ***
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.