[BUGFIX] Disable "Create new translation headers" when no selection is made 34/56734/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 19 Apr 2018 12:02:28 +0000 (14:02 +0200)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 19 Apr 2018 12:23:36 +0000 (14:23 +0200)
commita6e91c8388f99d95e5ced90efe07838157d604c4
treec46721aaeff6ad921fc62e95412923bb7dda514e
parent6b672293cd6605072b7b0429d80cbf3ac107c581
[BUGFIX] Disable "Create new translation headers" when no selection is made

The "Create new translation headers" is now disabled if no page to be
translated is selected to avoid errors in the target action. A small
TypeScript is added that unlocks the aforementioned button if at least
one checkbox was selected.

Resolves: #76676
Releases: master, 8.7
Change-Id: I163ed7322066d81597547dd2b2774434a086f082
Reviewed-on: https://review.typo3.org/56734
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Build/tsconfig.json
typo3/sysext/frontend/Classes/Controller/TranslationStatusController.php
typo3/sysext/frontend/Resources/Private/TypeScript/TranslationStatus.ts [new file with mode: 0644]
typo3/sysext/frontend/Resources/Public/JavaScript/TranslationStatus.js [new file with mode: 0644]