PDA

View Full Version : Errors when app is in an iframe, cross domain


Deakster
04-24-2009, 12:25 AM
I need to open my DHTML laszlo application in an iframe, and the laszlo app is in a subdomain relative to the parent page. I am getting the following error in the LFC, presumably because the laszlo app doesn't have permission to access to parent document:

Permission denied to get property Window.document

Line 1406
lz.embed.attachEventHandler(window.top.document,"mouseup",LzMouseKernel,"__mouseupEvent")

The application still seems to work fine, but obviously its not ideal having these errors. While I can manually comment out these statements, is there a cleaner way to get rid of this error? i.e. to stop the LFC from even trying to do that. Any tips appreciated.

(Openlaszlo 4.3.0)

senshi
04-26-2009, 03:30 AM
I've created a JIRA-ticket so that this issue will be fixed: LPP-8093 (http://www.openlaszlo.org/jira/browse/LPP-8093)