[BUGFIX] Check correctly for allowed localization action 89/46789/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 18 Feb 2016 11:47:03 +0000 (12:47 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Tue, 23 Feb 2016 09:52:17 +0000 (10:52 +0100)
commit233db4922427222d79e963a5cec436d9f89883a3
treea9f854c231f4b176a70e6d916b03d1a1240f2e90
parent26d1f57158e3fd909b4addb252b9bbf0028bf509
[BUGFIX] Check correctly for allowed localization action

The localization wizard currently disallows creating copies if a column
has elements. There are now two flags which influence the allowed
actions. The wizard now checks whether there are translations or
standalone content elements and negates one of the flags.

Change-Id: Ief40d311959943f2f7e901b80e4b29931f2894d2
Resolves: #73538
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46789
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Ralf Merz <info@merzilla.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/backend/Classes/Controller/Page/LocalizationController.php
typo3/sysext/backend/Classes/View/PageLayoutView.php
typo3/sysext/backend/Resources/Public/JavaScript/Localization.js