Error when using nuxeo in an Iframe (nuxeo.js usage of top.nxContextPath)
I'm trying to use Nuxeo [5.8] in an Iframe, but the gadgets are not loading.
An error occurs when opening the window in the Iframe:
"Error: Permission denied to access property 'nxContextPath'"
I was able to trace it to the nuxeo.js file: http://fisheye.nuxeo.com/browse/nuxeo-opensocial/nuxeo-opensocial-features/src/main/js/nuxeo/nuxeo.js?r=f365ffb0f158fad809a909667a89a5c1d67148b2
I also found that instead of using “top.nxcontextPath” it is better to use 'NXGadgetContext.clientSideBaseUrl' (http://permalink.gmane.org/gmane.comp.cms.nuxeo.scm/65899)
Is there a way I can change this myself?
Edit 14-11-2014 I found that top should be replaced with parent. Also a lot of links in gadgets (opensocial and social collaboration) contain target=“top” it would be better if target=“parent” would be used.
Thanks in advance, Bauke Roo