[TASK] Make AJAX request abortion easier
The AJAX API doesn't expose the AbortController anymore as it has no benefit for a developer, besides aborting a request. For this reason, the AJAX API removes the `getAbort()` method and replaces it with an `abort()` method, which utilizes the controller directly. Resolves: #90292 Releases: master Change-Id: Id6355663bc00bbb763692ca3b7fab145cb8cc55e Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63141 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
Showing
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/FormEngine/Container/InlineControlContainer.ts 1 addition, 1 deletion...TypeScript/FormEngine/Container/InlineControlContainer.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/FormEngine/Element/SlugElement.ts 1 addition, 1 deletion...urces/Public/TypeScript/FormEngine/Element/SlugElement.ts
- Build/Sources/TypeScript/core/Resources/Public/TypeScript/Ajax/AjaxRequest.ts 3 additions, 5 deletions...ript/core/Resources/Public/TypeScript/Ajax/AjaxRequest.ts
- typo3/sysext/backend/Resources/Public/JavaScript/FormEngine/Container/InlineControlContainer.js 1 addition, 1 deletion...JavaScript/FormEngine/Container/InlineControlContainer.js
- typo3/sysext/backend/Resources/Public/JavaScript/FormEngine/Element/SlugElement.js 1 addition, 1 deletion...urces/Public/JavaScript/FormEngine/Element/SlugElement.js
- typo3/sysext/core/Documentation/Changelog/master/Feature-89738-ApiForAjaxRequests.rst 2 additions, 2 deletions...ion/Changelog/master/Feature-89738-ApiForAjaxRequests.rst
- typo3/sysext/core/Resources/Public/JavaScript/Ajax/AjaxRequest.js 1 addition, 1 deletion...sext/core/Resources/Public/JavaScript/Ajax/AjaxRequest.js
Please register or sign in to comment