Last modified: 2010-05-15 16:03:28 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 T16845, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14845 - Bug in prefs javascript
Bug in prefs javascript
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
1.13.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://svn.wikimedia.org/viewvc/media...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-17 15:40 UTC by Christian Neubauer
Modified: 2010-05-15 16:03 UTC (History)
1 user (show)

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


Attachments

Description Christian Neubauer 2008-07-17 15:40:48 UTC
In the tabbedprefs function, there are some lines that look like this:

legends[0].className = 'mainLegend';
if (legends[0] && legends[0].firstChild.nodeValue) {
    sections[seci].text = legends[0].firstChild.nodeValue;
} else {
	sections[seci].text = '# ' + seci;
}

The first line up there should be inside an if(legends[0]) block as well to make sure legends[0] exists.
Comment 1 Huji 2008-07-17 20:02:33 UTC
Fixed with r37799.

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


Navigation
Links