Actions
Bug #20337
closedValidation issue: <a> attribute "href" lacks value in shortcut menu
Start date:
2009-04-22
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Branches: Trunk
Problem:
The shortcut menu, produced by typo3/classes/class.shortcutmenu.php, has an empty href attribute, which is a validation issue. This happens when there are shortcuts available in the menu.
Solution:
Add a "#" to the href attribute and a "return false" to the "onclick" in the anchor tag.
Remarks:
Some people will say that you also can use "javascript: void(0);" in the href attribute. This is true, but can have some side effects in IE. The image in the anchor sometimes not gets displayed, although it is there.
(issue imported from #M10953)
Files
Actions