[BUGFIX] Remove disabled button in inline records 70/52970/4
authorJohannes Schlier <johannes.schlier@b13.de>
Tue, 30 May 2017 15:23:24 +0000 (17:23 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 2 Jun 2017 11:14:55 +0000 (13:14 +0200)
commitc13a28400ed06c03b7517afc28ecadbe995e34c0
treeceeda94a43bc178b95ae4e01bd9f83823fb69937
parenteb65591e66934ca0953c2fc7e2e9b0613fc5fc76
[BUGFIX] Remove disabled button in inline records

If the info icon is disabled it is now removed completely.
Previously the logic for new records was not caught correctly, so that
the case for the enabled icon with a new record was executed.
Disabling the icon should remove it completely,
as a disabled non-clickable icon is not helpful and confusing for editors.
This is now done, and the case for the enabled icon with new records is
also correctly caught.

Resolves: #81380
Releases: master, 8.7
Change-Id: I1c78a99a83efa3c88e3a6337df9cd0c8a959ea7b
Reviewed-on: https://review.typo3.org/52970
Reviewed-by: Daniel Windloff <daniel.jc.windloff@googlemail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Tested-by: Daniel Windloff <daniel.jc.windloff@googlemail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php