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

Chris Müller mueller at cyperfection.de
Mon Mar 22 13:55:02 CET 2010


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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0013884_v1.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-dam/attachments/20100322/2beef9b1/attachment.txt>


More information about the TYPO3-team-dam mailing list