[BUGFIX] Remove save and new button for sys_file 98/17898/2
authorHelmut Hummel <h.hummel@bitmotion.de>
Thu, 31 Jan 2013 16:46:22 +0000 (17:46 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Thu, 31 Jan 2013 16:49:27 +0000 (17:49 +0100)
The save and new button does not make any sense for file
meta data, so we should not display it.

Resolves: #45044
Releases: 6.0, 6.1

Change-Id: Ic25edee5b208103f74c7d566acb93099bdd3c19f
Reviewed-on: https://review.typo3.org/17898
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/cms/ext_localconf.php

index bc9b77c..8daebce 100644 (file)
@@ -6,7 +6,7 @@ if (!defined('TYPO3_MODE')) {
        options.saveDocView = 1
        options.saveDocNew = 1
        options.saveDocNew.pages = 0
-       options.saveDocNew.pages_language_overlay = 1
+       options.saveDocNew.sys_file = 0
 ');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('
 mod.wizards.newContentElement {