[TYPO3-dam-devel] RFC #13884: Cleanup: Duplicate title attribute in img tag in element browser

Ulrich Lorenz PHZ Luzern lorenz.ulrich at phz.ch
Tue Jun 15 19:54:48 CEST 2010


+1 by testing

---

This is an SVN patch request.

Type: Cleanup

Bugtracker reference:
http://bugs.typo3.org/view.php?id=13884

Branches:
1.1 and trunk

Problem:
Validating the html code of the element browser throws errors. One error

is a duplicate title attribute in the image tag of the media types in 
the tree view.

Solution:
To get a more valid code the duplicate title attribute is removed from 
the image tag. The second title attribute is inserted by the wrapIcon() 
method, so it shouldn't be set in the getIcon() method.

Note:
The method getIcon() is also made CGL compliant.

Regards,
Chris.


More information about the TYPO3-team-dam mailing list