From 9ac4006d647a3f74cab296618d90630cb42777de Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Wed, 12 Jun 2013 06:49:09 -0400
Subject: [PATCH] Remove duplicated focus() after opening print window

---
 program/js/app.js |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index d691c92..885584b 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1047,7 +1047,6 @@
         if (uid = this.get_single_uid()) {
           ref.printwin = this.open_window(this.env.comm_path+'&_action=print&_uid='+uid+'&_mbox='+urlencode(this.env.mailbox)+(this.env.safemode ? '&_safe=1' : ''), true, true);
           if (this.printwin) {
-            setTimeout(function(){ ref.printwin.focus(); }, 20);
             if (this.env.action != 'show')
               this.mark_message('read', uid);
           }

--
Gitblit v1.9.1