[BUGFIX] Check correctly for allowed localization action 53/46753/4
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:11 +0000 (10:52 +0100)
commite8a4c56c516a73759354442f7070ce2e45df3a67
treea35d04803bd9eb4855b43a28a215b0619740c3e8
parentf0ffcee729502e177072ec1dbdddb32be2b4fa41
[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/46753
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
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