XF 2.1 Issue with overlay and loading files inside

grantus

Active member
I have an issue with an overlay where I'm not able to load an external file into it.

For example I have a template called "store" and I link to another template called "store-view" with data-xf-click="overlay". The "store-view" template loads but I have a .js file that I want to load into the store-view template. When I view the store-view template on its own page everything loads, but in the overlay it's ignored.

How can I get it into the overlay?
 
I thought I had it fixed by using <xf:js> tags instead of <script> tags but the issue is still there.

I noticed in the overlay that it's ignoring the javascript files but it's loading an external css file that I'm using.

Why would the overlay be ignoring those files?
 
Top Bottom