Bug 24061: Close the window after the page has been printed
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
0d07450e7e
commit
98784cc972
1 changed files with 3 additions and 1 deletions
|
@ -981,7 +981,9 @@ $(function() {
|
|||
|
||||
[% IF print %]
|
||||
window.print();
|
||||
setTimeout('window.close()', 1);
|
||||
window.onafterprint = function () {
|
||||
window.close();
|
||||
}
|
||||
[% END %]
|
||||
|
||||
AdjustRemark();
|
||||
|
|
Loading…
Reference in a new issue