[BUGFIX] Lock `DeferredAction` and recover original label
When a `DeferredAction` is executed, the related action trigger is now disabled when invoked to prevent multiple executions. Once the action is done, the button is unlocked and the original label is rendered again. Resolves: #99176 Releases: main Change-Id: I62754a5b8a99399b25bf9adbf914b00784e18cb3 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76800 Reviewed-by:Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- Build/Sources/TypeScript/backend/action-button/deferred-action.ts 10 additions, 4 deletions...urces/TypeScript/backend/action-button/deferred-action.ts
- typo3/sysext/backend/Resources/Public/JavaScript/action-button/deferred-action.js 1 addition, 1 deletion...ources/Public/JavaScript/action-button/deferred-action.js
Please register or sign in to comment