Project

General

Profile

Actions

Bug #20337

closed

Validation issue: <a> attribute "href" lacks value in shortcut menu

Added by Patrick Broens over 15 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Could have
Category:
-
Target version:
-
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

20090422_RFC_10953.diff (2.45 KB) 20090422_RFC_10953.diff Administrator Admin, 2009-04-22 12:02
Actions #1

Updated by Patrick Broens over 15 years ago

committed to trunk, rev 5347.

Actions #2

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF