thomascube
2011-07-28 951960e052a0536b318661873ea615ab2cf34ed6
Delay window.print() on Safari browsers

1 files modified
5 ■■■■ changed files
program/js/app.js 5 ●●●● patch | view | raw | blame | history
program/js/app.js
@@ -252,7 +252,10 @@
        }
        // 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) {