[BUGFIX] Remove disabled button in inline records 29/53029/2
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:26:28 +0000 (13:26 +0200)
commitf8eead59ad8358164aeea4e5ff9fbf1cb29d5622
tree420b1c441720a79e89450fd6ed5d9f2afee22705
parent15e70259c366346f2a6af430f06d4919963187ac
[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/53029
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php