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)
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)