Actions
Bug #76649
closedexplicitConfirmationOfTranslation buttons in EditDocumentController do not work
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2016-06-15
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Setting the setting:
$GLOBALS['TYPO3_CONF_VARS']['BE']['explicitConfirmationOfTranslation'] = true;
results in the corresponding buttons being added but there are two issues:
1.) SplitButtons.js does not handle buttons / links that start with "_translation_save" in css selectors.
Should add:
'button[name^="_translation_save"]', 'a[data-name^="_translation_save"]', 'button[name="CMD"][value^="_translation_save"]', 'a[data-name="CMD"][data-value^="_translation_save"]'
2.) In \TYPO3\CMS\Backend\Controller\EditDocumentController :
The buttons are created with using:
_translation_savedok
_translation_savedokclear
However, various checks to $_POST check for:
_translation_savedok_x
_translation_savedokclear_x
Actions