[BUGFIX] FormEngine: Fix hiding/unhiding IRRE records with toggle icon 45/45345/4
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 18 Dec 2015 07:54:26 +0000 (08:54 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Mon, 21 Dec 2015 08:04:39 +0000 (09:04 +0100)
commitbb1c14a7094525c4fa7c0eb5216e43ae6f12d21f
tree2738451e73e43de59cd40f0ada522188b255defb
parenta0ff74b7b78f5b3dd056518ea6802e29c6f61274
[BUGFIX] FormEngine: Fix hiding/unhiding IRRE records with toggle icon

Fix the javascript selector used to get the field storing the hidden
state of an IRRE record so that the toggle icon changes the state again.

Also fixes reapplying the latest hidden state after expanding a
previously closed panel. If there were unsaved changes to the hidden
state of the record these got overwritten by the results of the AJAX
call to load the record details.

Resolves: #71991
Releases: master
Change-Id: I31970abab7eed877ed13a0038245b03cb569a566
Reviewed-on: https://review.typo3.org/45345
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php
typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.inline.js