Project

General

Profile

Actions

Feature #19258

closed

There is no API to add or modify JavaScript

Added by Franz Holzinger about 16 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-08-27
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

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

t3lib_tceforms-javascript.diff (1.6 KB) t3lib_tceforms-javascript.diff Administrator Admin, 2008-08-27 11:09
Actions #1

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?

Actions #2

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.

Actions

Also available in: Atom PDF