summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-06-12 12:49:09 +0200
committerAleksander Machniak <alec@alec.pl>2013-06-12 12:49:09 +0200
commit9ac4006d647a3f74cab296618d90630cb42777de (patch)
tree2dce3fd8a25a1de62f5aaf8d69618f1a978a7936
parent36adaf630d5e08c3d347756e7f1c50e3637aeb93 (diff)
Remove duplicated focus() after opening print window
-rw-r--r--program/js/app.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index d691c9228..885584b50 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1047,7 +1047,6 @@ function rcube_webmail()
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);
}