[TASK] Replace $.ajax() in most of EXT:backend
This patch replaces $.ajax() in EXT:backend either with our AJAX API or with native XMLHttpRequest. The latter is required in the DragUploader as we need to listen to the progress event which isn't supported by fetch(). This patch skips Storage/Persistent, as this one needs some refactoring due to the usage of synchronous(!) AJAX requests. Resolves: #90597 Releases: master Change-Id: Ifdf41c133929740f3e766ae992848ab99ca1f283 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63502 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Daniel Goerz <daniel.goerz@posteo.de> Tested-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by:
Susanne Moog <look@susi.dev>
Showing
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/DragUploader.ts 48 additions, 61 deletions...cript/backend/Resources/Public/TypeScript/DragUploader.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Localization.ts 31 additions, 36 deletions...cript/backend/Resources/Public/TypeScript/Localization.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/LoginRefresh.ts 18 additions, 28 deletions...cript/backend/Resources/Public/TypeScript/LoginRefresh.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/ModuleMenu.ts 5 additions, 2 deletions...eScript/backend/Resources/Public/TypeScript/ModuleMenu.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Viewport/Topbar.ts 9 additions, 4 deletions...pt/backend/Resources/Public/TypeScript/Viewport/Topbar.ts
- typo3/sysext/backend/Resources/Public/JavaScript/DragUploader.js 1 addition, 1 deletion...ysext/backend/Resources/Public/JavaScript/DragUploader.js
- typo3/sysext/backend/Resources/Public/JavaScript/Localization.js 1 addition, 1 deletion...ysext/backend/Resources/Public/JavaScript/Localization.js
- typo3/sysext/backend/Resources/Public/JavaScript/LoginRefresh.js 1 addition, 1 deletion...ysext/backend/Resources/Public/JavaScript/LoginRefresh.js
- typo3/sysext/backend/Resources/Public/JavaScript/ModuleMenu.js 1 addition, 1 deletion.../sysext/backend/Resources/Public/JavaScript/ModuleMenu.js
- typo3/sysext/backend/Resources/Public/JavaScript/Viewport/Topbar.js 1 addition, 1 deletion...xt/backend/Resources/Public/JavaScript/Viewport/Topbar.js
Please register or sign in to comment