Aleksander Machniak
2013-06-12 9ac4006d647a3f74cab296618d90630cb42777de
Remove duplicated focus() after opening print window
1 files modified
1 ■■■■ changed files
program/js/app.js 1 ●●●● patch | view | raw | blame | history
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);
          }