Ok so the usage scenario is as follows:
I have a button that opens the current page for printing using the jquery print plugin.
$("#Section1").printElement({
leaveOpen: true,
printMode: 'popup',
pageTitle: '<%=Resources.Reporting.Text_Title%>'
});
The result is what I expect. A print preview window and a printing settings dialog are shown.
If I click one more time and the print preview page is minimised i get “Access Is Denied” js error pointing to JQuery.printElement.js.
If it’s not minimised it just opens the same print preview popup as before.
This is IE behaviour just to mention. In Firefox there’s a “Not Available” alert from the browser.
Is this something I can fix?
From what I’ve searched so far this “Access is denied error” is linked to
making a call to a sub domain from a different domain”
Thanx Blowsie, it might give that a go.
The problem was due to the fact that the print plugin tried to open a new window with the
same name every time I would press the print page button. I changed it so that a new and unique name is used every time the print preview page is open.
to: