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

merlinofchaos’s picture

Status: Active » Fixed

Unfortunately, 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. =(

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.