Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2009 at 00:48 UTC
Updated:
2 Jan 2010 at 05:00 UTC
How do I get JavaScript added to the page when it is needed for some AHAH content. For example if my original page does not have a fieldset (the collapse.js file does not get included in the page output) but then a fieldset is loaded via ctools AJAX magic the collapse.js code is missing.
If I am unclear about my issue, let me know and I'll try to elaborate more. Thanks.
Comments
Comment #1
merlinofchaos commentedUnfortunately, the only solution I've been able to find is to have any page that offers an AJAX link know hwat javascript might be needed by the ajax and include the files then. It's not a great solution, but I haven't found a better one. =(