[BUGFIX] Follow up: Remove icon doesn't work 10/28010/4
authorNicole Cordes <typo3@cordes.co>
Mon, 3 Mar 2014 22:18:51 +0000 (23:18 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Wed, 5 Mar 2014 22:43:53 +0000 (23:43 +0100)
commit78213ca388d7b0f523a2e6050f972ae988fb4cac
treef8a7c43b63964289b41c80059a40a60da1a26696
parent450b1662491a4881df4bcbb8fb83a3def341b3c1
[BUGFIX] Follow up: Remove icon doesn't work

With patch 6711c14 the function setFormValueManipulate was corrected but
if called it returns an array instead of the first form element. This
patch makes sure that the first object is always returned.

Resolves: #56221
Releases: 6.2
Change-Id: I03445afcb15d9323cd899974ac1cf378945e4ecb
Reviewed-on: https://review.typo3.org/28010
Reviewed-by: Stefan Neufeind
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js