Feature #19258
closedThere is no API to add or modify JavaScript
0%
Description
The JavaScript in the TCE sometimes contains bugs. You cannot fix them without making an XCLASS. It would be fine to be able to have at least a hook by which you can replace the default JavaScript.
And it would be fine if you could add your own JavaScript files for the field validation.
It is not possible to add files to the $jsFile local variable in TCE.
And besides: The scriptaculous script is added twice if you are using IRRE.
(issue imported from #M9236)
Files
Updated by Tolleiv Nietsch over 13 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0)
Would you mind checking how this can be done with the help of the pageRenderer?
Updated by Stefan Galinski over 12 years ago
- Status changed from Needs Feedback to Closed
Bugs inside the javascript should be reported and fixed in TYPO3 itself. Own validation rules can be added by wizard code (see the extension date2cal as an example) and maybe there also with the pagerenderer. Unfortunatly IRRE adds the most javascript twice and this caused already bugs, but this is another story. Please open new reports for single issues and don't combine multiple ones in one report. However, closed because of missing feedback.