[TYPO3-core] RFC #16788: Bug / blocker / nobrainer: Flexform inputfields remain empty due to JS error

Andreas Kiessling kiessling at pluspol.info
Tue Jan 25 11:15:35 CET 2011


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.

Regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16788.patch
Type: text/x-patch
Size: 1099 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110125/2239f6f1/attachment.bin>


More information about the TYPO3-team-core mailing list