Bug #17383
closedJS error in new content element wizard with a single item
0%
Description
If BE user has allowed only one type of content element, and click on it, js error occured:
Error: document.editForm.tempB0 has no properties
Source File: http://agriculture.kios.sk/typo3/sysext/cms/layout/db_new_content_el.php ?id=17&colPos=0&sys_language_uid=0&uid_pid=17 &returnUrl=%2Ftypo3%2Fsysext%2Fcms%2Flayout%2Fdb_layout.php%3Fid%3D17
Line: 1
When I allow BE users to add two types of content element, everything is ok.
(issue imported from #M5789)
Files
Updated by Oliver Hader over 17 years ago
The attached patch should solve the problem.
Updated by Stano Paska over 17 years ago
Quick response, Oliver. Thanks.
I want only add one note: This error occurs only when user clicks on icon or text. If he clicks on radio button, it works.
Is this patch added into next version of Typo3?
Updated by Oliver Hader over 17 years ago
Did you test the patch and can confirm, that it solves the problem also on your TYPO3 system?
If this patch is accepted by the TYPO3 Core Team this week, it will be part of the next release TYPO3 4.1.2 which is scheduled to next week.
Updated by Oliver Hader over 17 years ago
- TYPO3_4-1 (rev. 2373)
- Trunk (rev. 2374)