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

1 files modified
3 ■■■■■ changed files
program/js/app.js 3 ●●●●● patch | view | raw | blame | history
program/js/app.js
@@ -252,6 +252,9 @@
        }
        // show printing dialog
        else if (this.env.action == 'print' && this.env.uid)
          if (bw.safari)
            window.setTimeout('window.print()', 10);
          else
          window.print();
        // get unread count for each mailbox