diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-07-28 08:40:43 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-07-28 08:40:43 +0000 |
| commit | c39f6034d40e97b3ddaf9b7b28cb305f87b77488 (patch) | |
| tree | eb3af3ea95882ef85152efcd517574f3a1a04477 /roundcubemail/program/js | |
| parent | 84c90a821664cda43590cfd9df95315c6f88fff9 (diff) | |
Delay window.print() on Safari browsers
git-svn-id: https://svn.roundcube.net/trunk@4984 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
| -rw-r--r-- | roundcubemail/program/js/app.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 81bee6c1d..1814bedf2 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -252,7 +252,10 @@ function rcube_webmail() } // show printing dialog 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 if (this.gui_objects.mailboxlist) { |
