Closed
Description
I have three HTML files:
- inner.html (which has a iframeResizer.contentWindow.js)
- outer.html (which has both js files)
- superouter.html (which has a iframeResizer.js)
Each one contains the other. Both inner.html
and superouter.html
work as expected, but outer.html
enters in an endless loop.
I see that changing msgId
, it works. In a similar scenario I have:
- multijs_superouter.html with the regular iframeResizer.js
- multijs_outer.html with the regular iframeResizer.contentWindow.js but a modified iframeResizer.js where only msgId is changed
- multijs_inner.html with the modified iframeResizer.contentWindow.js
Here, the three files work as expected. But I'd like to avoid changing the JS files in every update, if possible. Is there anything I'm missing? Is there any other way to make this scenario work?
Thank you,