[TYPO3-core] RFC #16788: Bug / blocker / nobrainer: Flexform inputfields remain empty due to JS error
Oliver Hader
oliver.hader at typo3.org
Thu Feb 24 21:22:51 CET 2011
Hi Andreas,
Am 25.01.11 11:15, schrieb Andreas Kiessling:
> This is an SVN patch request.
>
> Type: Bugfix / blocker / nobrainer
>
> BT reference: http://bugs.typo3.org/view.php?id=16788
> probably also http://bugs.typo3.org/view.php?id=16924
>
> Branches: 4_4, trunk
>
> After "#13294 Bug: IRRE deleted combo records are still validated by
> TBE_EDITOR" was committed, a JS error appears in flexforms.
>
> Message from firebug:
> form is undefined
> var testNode = $(form.parentNode);
>
> After that error, the execution of js code stops and the values from the
> hidden input fields are never copied to the real input fields.
>
> Solution: there is already a condition if "form" is set -> move the new
> code inside that condition.
>
> Credits go to Frenck Lutke who first found the bug and a fix.
Sounds reasonable.
+1 by reading
olly
--
Oliver Hader
TYPO3 v4 Core Team Leader
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
More information about the TYPO3-team-core
mailing list