remove recent flag on preview too

This commit is contained in:
Klaus Leithoff 2014-01-23 13:16:26 +00:00
parent 5452c9fca2
commit 5564cb6e26

View File

@ -645,6 +645,7 @@ app.classes.mail = AppJS.extend(
// When body is requested, mail is marked as read by the mail server. Update UI to match.
if (typeof dataElem != 'undefined' && typeof dataElem.data != 'undefined' && typeof dataElem.data.flags != 'undefined' && typeof dataElem.data.flags.read != 'undefined') dataElem.data.flags.read = 'read';
this.mail_removeRowClass(messages,'recent');
this.mail_removeRowClass(messages,'unseen');
egw.jsonq('mail.mail_ui.ajax_flagMessages',['read', messages, false]);
// Pre-load next email already so user gets it faster