forked from extern/egroupware
* Mail/Chrome: Fix not closing print dialog in compose after print or cancel in Chrome
This commit is contained in:
parent
1125c3f52c
commit
be3e1f3e80
@ -3738,7 +3738,10 @@ app.classes.mail = AppJS.extend(
|
||||
|
||||
if (!window.onafterprint)
|
||||
{
|
||||
window.onfocus = afterprint;
|
||||
// For browsers which does not support onafterprint event, eg. Chrome
|
||||
setTimeout(function() {
|
||||
window.close();
|
||||
}, 2000);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user