We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since Opera 12 printElement does only show a popup with contents but does not print and does not close popup.
Seems to be the fact, that print should be called after a delay. That means:
!d.browser.opera ? 'print();' : 'setTimeout("window.print()", 1000);'
should make it.
i solved this issue in printElement 1.2 by changing
html.push('<script type="text/javascript">function printPage(){focus();print();' + ((!$.browser.opera && !opts["leaveOpen"] && opts["printMode"].toLowerCase() == 'popup') ? 'close();' : '') + '}</script>');
to
html.push('<script type="text/javascript">function printPage(){focus();' + ( !d.browser.opera ? 'print();' : 'setTimeout("window.print()", 1000);' ) + (!d.browser.opera && !b.leaveOpen && b.printMode.toLowerCase() === "popup" ? "close();" : "") + "}</script>");
After fixing the print() i recognized that the popup does not close after correct printing. Can this be solved?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Since Opera 12 printElement does only show a popup with contents but does not print and does not close popup.
Seems to be the fact, that print should be called after a delay.
That means:
should make it.
i solved this issue in printElement 1.2 by changing
to
After fixing the print() i recognized that the popup does not close after correct printing. Can this be solved?
The text was updated successfully, but these errors were encountered: