Delay window.print() on Safari browsers

release-0.6
thomascube 14 years ago
parent b0eb95a662
commit 951960e052

@ -252,7 +252,10 @@ function rcube_webmail()
} }
// show printing dialog // show printing dialog
else if (this.env.action == 'print' && this.env.uid) else if (this.env.action == 'print' && this.env.uid)
window.print(); if (bw.safari)
window.setTimeout('window.print()', 10);
else
window.print();
// get unread count for each mailbox // get unread count for each mailbox
if (this.gui_objects.mailboxlist) { if (this.gui_objects.mailboxlist) {

Loading…
Cancel
Save