[BUGFIX] Show button 'add image' after delete inline fails 48/47348/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:49:17 +0000 (21:49 +0100)
commit51c70037cbdb783643eb71c268b78387aa5a9a80
treeb820ff2794c25bf0515e6d2f0c2f13ab633ab45e
parent1ebf988df4582bd1c9492bc886048d92bfdce999
[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/47348
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.inline.js