I had that problem, when I was making a test bed I had a different domain document and that gave that error other than that only that particular time...
I hope you find your answer promptly. On Feb 25, 2:07 pm, Nicolas <[email protected]> wrote: > I have had this bug many times, but never really bothered to have a > look a it. Now I really need to fix it but can't seem to find a > workaround: > > iframe.addEvent('load', function() { > if (!iframe.contentWindow.APE) setTimeout(iframe.onload, 100);// > Sometimes IE fire the onload event, but the iframe is not loaded -_- > else iframe.contentWindow.APE.init(config); > }); > > on the line beginning with if (!iframe.contentWindow.APE) > > I get an error saying that I am not allowed to access property > Window.APE > > At that moment iframe.contentWindow is undefined. > > I have tried a workaround found on this forum beginning with the > definition of iframe.onload= > > but it did not change anything. > > The APE-JSF current project has the exact same lines of codes. > > I am pretty sure that many of you have run into this problem. What > have you done to solve it? > > Many thanks. > > Nicolas. -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
