[BUGFIX] Respect saveDocNew TSConfig option 03/58603/2
authorSusanne Moog <s.moog@neusta.de>
Tue, 9 Oct 2018 14:21:07 +0000 (16:21 +0200)
committerBenni Mack <benni@typo3.org>
Sun, 28 Oct 2018 11:26:52 +0000 (12:26 +0100)
commite98c249678e8ee5464b10494e0a4cfbd2531b35d
treed2b945d3a4777752b0cd81da4d01b38416775949
parent2742ea30b38595f76a0aa4941f450309d3e06cc4
[BUGFIX] Respect saveDocNew TSConfig option

For translated tt_content elements the saveDocNew button
was solely dependent on the free vs. connected mode setup.
However, if the button has been hidden via TSConfig
completely it should not magically reappear when editing a
translation in free mode.

(This patch only applies to TYPO3 8 as the buttons
changed for version 9).

Change-Id: I0f74e87acbac127b8bbc09f4fee39c633a3a49f6
Resolves: #85774
Releases: 8.7
Reviewed-on: https://review.typo3.org/58603
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Joerg Kummer <typo3@enobe.de>
Tested-by: Joerg Kummer <typo3@enobe.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/Controller/EditDocumentController.php