Ticket #594 (assigned enhancement)
Requirements: Dynamically add javascript with an Ajax-Request
| Reported by: | ischommer | Assigned to: | sminnee (accepted) |
|---|---|---|---|
| Type: | enhancement | Priority: | critical |
| Milestone: | 2.3.0 | Component: | Sapphire Framework |
| Version: | Severity: | high effort / impact | |
| Keywords: | Cc: | ||
| Due date: | Hours: |
Description
Adding JS through Requirements is currently limited to non-ajax-requests, as they are included in <script>-tags. This leads to lots of unneccessary includes for custom scenarious (conf. CMSMain->init()).
Implementation-Links: http://ajaxpatterns.org/On-Demand_Javascript http://www.rittau.org/blog/20061118-00 http://simonwillison.net/2004/May/26/addLoadEvent/ http://www.codeproject.com/useritems/js_IncludingEngine_Part_1.asp
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
