Actions
Bug #14795
closedJS Error with JSMENU
Start date:
2005-06-06
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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)
Files
Actions