CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #34829

Imagemap breaks in IE if there's an attribute called 'class'

Added by Christoph Buchli about 1 year ago. Updated about 1 year ago.

Status:New Start date:2012-03-14
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:-
Target version:- Estimated time:1.00 hour
Votes: 0

Description

We have an attribute defined that is called "class" for adding a CSS-class to the link in the FE. This attribute breaks the wizard in all tested Internet Explorers (8,9) with the error "Expected identifier, string or number" on lines 201 and 206.

The Wizard displays three empty areas (see attached screenshot) and if you try to create a new element, this results in the error:
"Fatal error: Call to a member function listAreas() on a non-object in [...]/typo3conf/ext/imagemap_wizard/templates/wizard.php on line 8".

imagemap_IEbug.png (181.4 kB) Christoph Buchli, 2012-03-14 12:44

34829.diff (888 Bytes) Christoph Buchli, 2012-03-14 12:48

History

Updated by Christoph Buchli about 1 year ago

Attached, there is my supposed Fix for the trunk. It's tested in IE8, IE9, Chrome, FF and Opera

Also available in: Atom PDF