[TYPO3-core] FYI #17071: JavaScript errors, used .class instead of .className

Steffen Gebert steffen at steffen-gebert.de
Mon Jan 17 22:52:51 CET 2011


Hi!

The following changes have been committed in rev. 10108

Type: Bugfix

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

Branches:
trunk

Problem:
Opening a TCEform emits a JS error in Internet Explorer 7: Bezeichner 
erwartet.

document.editform['data[pages][4][be_layout_next_level]'].class=document.editform['data[pages][4][be_layout_next_level]'].options[2].class;

.class is not valid, has to be .className

Solution:
Change class to className

Note:
See also 
http://de.selfhtml.org/javascript/objekte/htmlelemente.htm#universaleigenschaften 
(sorry, no english selfhtml anymore..)

Kind regards
Steffen

-- 
Steffen Gebert
TYPO3 Core Team Member
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 17071.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110117/b38a82f8/attachment.txt>


More information about the TYPO3-team-core mailing list