Issue Bug Closed

#14795JS Error with JSMENU

Bernhard Kraft 06/06/05, 15:16 updated 08/12/06, 14:23

Description

When no <base> tag is set in a page containing a JSMENU then an JS Error occurs in Firefox 1.0.3 when selecting a select-box entry.
The line in question is:
if (document.getElementsByTagName(“base”)0.href != “”) {

The problem is if there is no Tag named “base” then the .href operator will fail.

I attached a solution as unified diff .

(issue imported from #M1167)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.