[TASK] Add user settings option to disable drag n drop confirmation

This commit is contained in:
Philipp Dieter
2022-04-28 13:07:40 +02:00
parent 138c9373ff
commit 43c088850b
5 changed files with 65 additions and 2 deletions

View File

@@ -65,3 +65,14 @@ call_user_func(
}
);
$GLOBALS['TYPO3_USER_SETTINGS']['columns']['disableDragModal'] = [
'type' => 'check',
'label' => 'LLL:EXT:templates_aide/Resources/Private/Language/locallang.xlf:disableDragModal',
];
$GLOBALS['TYPO3_USER_SETTINGS']['showitem'] = str_replace(
'recursiveDelete',
'recursiveDelete,disableDragModal',
$GLOBALS['TYPO3_USER_SETTINGS']['showitem'],
);