[TASK] Enable clipboard by default 46/37046/3
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Fri, 20 Feb 2015 13:52:38 +0000 (14:52 +0100)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Sun, 22 Feb 2015 20:15:18 +0000 (21:15 +0100)
The clipboard is enabled by default now, which displays the copy /
cut / paste actions.

Resolves: #55950
Releases: master
Change-Id: If2410be70209530284ac370f0f987f155caf2e69
Reviewed-on: http://review.typo3.org/37046
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
typo3/sysext/recordlist/Classes/RecordList.php

index 6b7dccf..0a5ce4a 100644 (file)
@@ -284,6 +284,10 @@ class RecordList {
                        $this->MOD_SETTINGS['clipBoard'] = TRUE;
                } elseif ($this->modTSconfig['properties']['enableClipBoard'] === 'deactivated') {
                        $this->MOD_SETTINGS['clipBoard'] = FALSE;
+               } else {
+                       if ($this->MOD_SETTINGS['clipBoard'] === NULL) {
+                               $this->MOD_SETTINGS['clipBoard'] = TRUE;
+                       }
                }
                // Set predefined value for LocalizationView:
                if ($this->modTSconfig['properties']['enableLocalizationView'] === 'activated') {