Suggestion #38253
Don't add JS hardcoded
| Status: | Resolved | Start date: | 2012-06-21 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | 2012-08-10 | |
| Assignee: | Federico Bernardin | % Done: | 0% |
|
| Category: | Generic FE code | Spent time: | - | |
| Target version: | 1.2.0 version | |||
| Tags: | ||||
| Votes: | 0 |
Description
The default JS added by the extension sets the basic jQuery-feature noConflict() which might lead to other javascripts not working anymore. So it would be better to set the path to the file via TypoScript so that the integrator has the chance to disable it easily. Even better would be an option kind of like "integrate jQuery-lib" which could be switched on an off via TS. Only if the switch is on the library/JS should be included.
History
Updated by Federico Bernardin 10 months ago
- Category set to Generic FE code
- Assignee set to Federico Bernardin
- Target version set to 1.2.0 version
Updated by Federico Bernardin 10 months ago
- Due date set to 2012-08-10
- Status changed from New to Resolved
Added new two configuration properties:
plugin.t3registration.javascriptsInclusion.jquery = 0 => initialize.js will not be included
plugin.t3registration.javascriptsInclusion.imageRemove = 0 => registration.js will not be included
to preserve backward compatibility these properties are set as 1.