[TYPO3-core] RFC: Bug 5789: JS error in new content element wizard with a single item

Oliver Hader oh at inpublica.de
Mon Jul 2 18:06:16 CEST 2007

FYI: Committed to SVN
* TYPO3_4-1 (rev. 2373)
* Trunk (rev. 2374)


Oliver Hader schrieb:
> 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
Oliver Hader

More information about the TYPO3-team-core mailing list