[BUGFIX] Show button 'add image' after delete inline fails 37/47337/2
authorFrank Naegler <frank.naegler@typo3.org>
Mon, 21 Mar 2016 10:29:59 +0000 (11:29 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 21 Mar 2016 20:48:58 +0000 (21:48 +0100)
commit1b9a5319b1722ce4c8173dc4c4275025bf9a02df
treef71e72eff2d3b99387bea1283e1e7ca925892367
parent475bef3b0f903c5cc0980fa2296e49d3e0fddcab
[BUGFIX] Show button 'add image' after delete inline fails

Fix handling of inline records in JavaScript. Prevent wrong count of elements
by adding a trimExplode function intead of usage native split function.

Resolves: #72379
Releases: master, 7.6
Change-Id: Id6cde49eb6179ddc3d5b0ef796a0a6883dfa747e
Reviewed-on: https://review.typo3.org/47337
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.inline.js