[TYPO3-core] RFC: Bug 5789: JS error in new content element wizard with a single item
Oliver Hader
oh at inpublica.de
Fri Jun 15 10:13:13 CEST 2007
This is a SVN patch request.
Problem:
On using the new content element wizard that has just a single item
(e.g. only content type "text"), a JavaScript error occurs after
clicking on that item: "document.editForm.tempB[0] has no properties"
Solution:
"document.editForm.tempB" is not an array if only a single item exists.
The solution with the least effort is to use a function that returns an
array: document.getElementsByName('tempB')
Comments:
Look at the bugtracker if you'd like to see a screenshot of this issue.
Bugtracker reference:
http://bugs.typo3.org/view.php?id=5789
Branch: TYPO3_4-1 & Trunk
olly
--
Oliver Hader
http://inpublica.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005789.patch
Type: text/x-diff
Size: 752 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070615/9506d576/attachment.bin
More information about the TYPO3-team-core
mailing list