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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 2224 - Javascript error on Generate Tabular Report page
Javascript error on Generate Tabular Report page
Product: Wikimedia
Classification: Unclassified
Bugzilla (Other open bugs)
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
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: ---


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.