Mark message read when printing it (#1326452)

release-0.6
thomascube 17 years ago
parent e8f8fe9ed3
commit 4d3f3b9a3f

@ -889,7 +889,11 @@ function rcube_webmail()
{
ref.printwin = window.open(this.env.comm_path+'&_action=print&_uid='+uid+'&_mbox='+urlencode(this.env.mailbox)+(this.env.safemode ? '&_safe=1' : ''));
if (this.printwin)
{
setTimeout(function(){ ref.printwin.focus(); }, 20);
if (this.env.action != 'show')
this.toggle_read_status('read', [uid]);
}
}
break;

Loading…
Cancel
Save