Last modified: 2007-05-18 18:17:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T4224, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2224 - Javascript error on Generate Tabular Report page
Javascript error on Generate Tabular Report page
Status: RESOLVED WORKSFORME
Product: Wikimedia
Classification: Unclassified
Bugzilla (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://bugzilla.wikimedia.org/query.c...
:
Depends on:
Blocks: javascript
  Show dependency treegraph
 
Reported: 2005-05-22 16:44 UTC by Dashiva
Modified: 2007-05-18 18:17 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dashiva 2005-05-22 16:44:26 UTC
On line 368: document.forms['queryform'].short_desc.focus();

There is no form with name="queryform" on this page, only on the standard query.cgi page. It should 
be: document.forms['reportform'].short_desc.focus();
Comment 1 Dashiva 2005-05-22 16:49:19 UTC
Some other things about JS on that page.

The script block starting at line 18 only contains a single, empty function (initHelp) that is never used.

The onclick handlers for inputs with name cmd-add0-0-1, cmd-add0-1-0, cmd-add1-0-0 (near line 1170) use document.forms[0].method, which 
would break if another form was inserted at the top of the page. They should use this.form.method instead.
Comment 2 Brion Vibber 2007-05-18 18:17:06 UTC
Don't see any errors, assuming working after 3.0 upgrade.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links