[BUGFIX] New task button missing after deleting task
authorAlexander Jahn <a.jahn@immowelt.de>
Mon, 23 Apr 2012 07:45:06 +0000 (09:45 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 28 Apr 2012 15:46:47 +0000 (17:46 +0200)
Change-Id: I7b0dd0ef83d8fe62aeaf12849bcf87b00801eacc
Fixes: #36296
Releases: 6.0, 4.7, 4.6
Reviewed-on: http://review.typo3.org/10700
Reviewed-by: Philipp Gampe
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/scheduler/class.tx_scheduler_module.php

index 3346e00..91e691a 100644 (file)
@@ -1582,7 +1582,7 @@ class tx_scheduler_Module extends t3lib_SCbase {
                        'shortcut' => $this->getShortcutButton(),
                );
 
-               if (empty($this->CMD) || $this->CMD == 'list') {
+               if (empty($this->CMD) || $this->CMD == 'list' || $this->CMD == 'delete') {
                        $buttons['reload'] = '<a href="' . $GLOBALS['MCONF']['_'] . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.reload', TRUE) . '">' .
                                t3lib_iconWorks::getSpriteIcon('actions-system-refresh') .
                                '</a>';
@@ -1626,4 +1626,4 @@ class tx_scheduler_Module extends t3lib_SCbase {
 if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/scheduler/class.tx_scheduler_module.php'])) {
        include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/scheduler/class.tx_scheduler_module.php']);
 }
-?>
\ No newline at end of file
+?>