mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
* Mail/Chrome: Fix not closing print dialog in compose after print or cancel in Chrome
This commit is contained in:
parent
8ecaac7dde
commit
491e0002ca
@ -3741,7 +3741,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