Hi, I'm trying to use isc.Canvas.showPrintPreview and I'm getting errors in multiple browsers. Our application uses document.domain and it looks like that is the source of the problem. When I temporarily turn off document.domain, the print preview window shows without issue.
Here are the javascript errors we see:
Unsafe JavaScript attempt to access frame with URL http://localdev.<mydomain>.com:8080/dev/dpt.form from frame with URL http://localdev.<mydomain>.com:8080/dev/isoversion/8.1.8.27.11/isomorphic/system/helpers/printFrame.html?id=isc_PrintCanvas_0&title=Print%20Preview. Domains, protocols and ports must match.
printFrame.html:30Uncaught ReferenceError: params is not defined
Here are the javascript errors we see:
Unsafe JavaScript attempt to access frame with URL http://localdev.<mydomain>.com:8080/dev/dpt.form from frame with URL http://localdev.<mydomain>.com:8080/dev/isoversion/8.1.8.27.11/isomorphic/system/helpers/printFrame.html?id=isc_PrintCanvas_0&title=Print%20Preview. Domains, protocols and ports must match.
printFrame.html:30Uncaught ReferenceError: params is not defined
Comment