Hello everyone, Im working with fusion layout to create a query system that will be displayed in an Iframe.
Using the same iframe, I tried to display various pages. The probleme is I get a fusion error : Cant execute code from a freed script on Internet Explorer. Also, this error only happens after I display another page.
If at first, I show a page, and do some selections everything is fine, but once I display another page, and try to do some selections on the map, I have this error.
I have searched on the internet, and found several related subject that link the error to the iframe on IE, but I have no clue which objects in the page that cause this error.
Anyone have encountered this and can give me some hints?
Thanks
This kind of error generally happens when your code is holding on to some variables/objects/functions from:
* A popup window that has been closed
* A frame/iframe whose contents have been replaced
You should look at where your code is accessing popup windows or frames/iframes, and make sure you're not storing anything that could be swept out from underneath because the popup window has closed or the iframe has navigated to a different url.
- Jackie
Thanks jackie.ng
I found out the problem.
I have listeners that are registered from the IFrame to the map. And when the page in the iframe change, IE remove these listeners but the maps still think they exist and call them.
So what I had to do is to remove the listeners from the IFrame in the function OnUnload().
Thanks again for your reply jackie.ng