[FOLLOWUP][BUGFIX] Hide language switcher if record has no default translation 05/51805/2
authorSascha Nowak <sascha.nowak@netlogix.de>
Mon, 2 Jan 2017 10:59:58 +0000 (11:59 +0100)
committerAlexander Opitz <opitz.alexander@googlemail.com>
Thu, 23 Feb 2017 15:05:15 +0000 (16:05 +0100)
commit0a9dadd419d4548168c195ac0977f3f724bfcc4a
tree8de57b07804dd2901b8030bb6f6c496c236716c5
parent8c387184b8c065b9ba5aaf357d81e7bb129c0469
[FOLLOWUP][BUGFIX] Hide language switcher if record has no default translation

In the current implementation it is not possible to create a new translations outside
of the default translation. So we can readd the new translation option when the record
has a default translation.

Change-Id: I89c4200ff847dadfdeec03b5f43a6577f40702e3
Resolves: #72797
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/51092
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
(cherry picked from commit 00fa1cd5c876406952d655592b804f4333c42191)
Reviewed-on: https://review.typo3.org/51805
typo3/sysext/backend/Classes/Controller/EditDocumentController.php