[BUGFIX] Fix $.Deferred.fail() polyfill
This patch adjusts the polyfill for $.Deferred.fail() to call the jQuery-based error handling with the correct arguments. Since we don't XHR in this context, we have to fake that object as good as possible. Resolves: #90191 Releases: master Change-Id: Icd9bc82c0fe81ae6326f1804802bd244afc32eb0 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63021 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
Showing
- Build/Sources/TypeScript/core/Resources/Public/TypeScript/BackwardCompat/JQueryNativePromises.ts 25 additions, 7 deletions.../Public/TypeScript/BackwardCompat/JQueryNativePromises.ts
- typo3/sysext/core/Resources/Public/JavaScript/BackwardCompat/JQueryNativePromises.js 2 additions, 2 deletions.../Public/JavaScript/BackwardCompat/JQueryNativePromises.js
Please register or sign in to comment