[TASK] Reduce inline JavaScript in FormEngine AJAX responses
Reduces amount of `requireJsModules` and `scriptCall` invocations in AJAX response handling and migrates to new `scriptItems` which is forwarded to JavaScriptHandler.js. Resolves: #95954 Releases: master Change-Id: I258da49fef46ccc36c602e0fd7c9a14ddb3cec1d Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72154 Tested-by:core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/FormEngine/InlineRelation/AjaxDispatcher.ts 8 additions, 2 deletions...ic/TypeScript/FormEngine/InlineRelation/AjaxDispatcher.ts
- Build/Sources/TypeScript/redirects/Resources/Public/TypeScript/FormEngineEvaluation.ts 34 additions, 0 deletions...rects/Resources/Public/TypeScript/FormEngineEvaluation.ts
- Build/types/TYPO3/index.d.ts 1 addition, 0 deletionsBuild/types/TYPO3/index.d.ts
- typo3/sysext/backend/Classes/Controller/AbstractFormEngineAjaxController.php 15 additions, 1 deletion...d/Classes/Controller/AbstractFormEngineAjaxController.php
- typo3/sysext/backend/Classes/Controller/FormFlexAjaxController.php 8 additions, 15 deletions...ext/backend/Classes/Controller/FormFlexAjaxController.php
- typo3/sysext/backend/Classes/Controller/FormInlineAjaxController.php 20 additions, 13 deletions...t/backend/Classes/Controller/FormInlineAjaxController.php
- typo3/sysext/backend/Classes/Controller/SiteInlineAjaxController.php 11 additions, 13 deletions...t/backend/Classes/Controller/SiteInlineAjaxController.php
- typo3/sysext/backend/Classes/Form/AbstractNode.php 2 additions, 0 deletionstypo3/sysext/backend/Classes/Form/AbstractNode.php
- typo3/sysext/backend/Classes/Form/Element/CustomEvaluationTrait.php 52 additions, 0 deletions...xt/backend/Classes/Form/Element/CustomEvaluationTrait.php
- typo3/sysext/backend/Classes/Form/Element/InputColorPickerElement.php 3 additions, 5 deletions.../backend/Classes/Form/Element/InputColorPickerElement.php
- typo3/sysext/backend/Classes/Form/Element/InputLinkElement.php 2 additions, 4 deletions.../sysext/backend/Classes/Form/Element/InputLinkElement.php
- typo3/sysext/backend/Classes/Form/Element/InputTextElement.php 2 additions, 4 deletions.../sysext/backend/Classes/Form/Element/InputTextElement.php
- typo3/sysext/backend/Classes/Form/Element/SelectMultipleSideBySideElement.php 1 addition, 0 deletions.../Classes/Form/Element/SelectMultipleSideBySideElement.php
- typo3/sysext/backend/Classes/Form/FormResultCompiler.php 2 additions, 0 deletionstypo3/sysext/backend/Classes/Form/FormResultCompiler.php
- typo3/sysext/backend/Resources/Public/JavaScript/FormEngine/InlineRelation/AjaxDispatcher.js 1 addition, 1 deletion...ic/JavaScript/FormEngine/InlineRelation/AjaxDispatcher.js
- typo3/sysext/backend/Resources/Public/JavaScript/FormEngineValidation.js 21 additions, 2 deletions...ckend/Resources/Public/JavaScript/FormEngineValidation.js
- typo3/sysext/redirects/Classes/Evaluation/SourceHost.php 10 additions, 10 deletionstypo3/sysext/redirects/Classes/Evaluation/SourceHost.php
- typo3/sysext/redirects/Resources/Public/JavaScript/FormEngineEvaluation.js 13 additions, 0 deletions...rects/Resources/Public/JavaScript/FormEngineEvaluation.js
Please register or sign in to comment