fix bug regarding ->recent messages are not flagged as seen on preview<-

This commit is contained in:
Klaus Leithoff 2011-08-03 10:07:37 +00:00
parent 3a5fbbb17a
commit 6cde93b7aa
2 changed files with 4 additions and 2 deletions

View File

@ -948,7 +948,6 @@ $j(document).ready(function() {
if(!empty($header['deleted'])) $flags .= "D";
if(!empty($header['seen'])) $flags .= "S";
$data["status"] = "<span class=\"status_img\"></span>";
//error_log(__METHOD__.array2string($header).' Flags:'.$flags);
@ -1336,7 +1335,9 @@ $j(document).ready(function() {
}
}
//if (strpos( array2string($flags),'Seen')===false) $this->bofelamimail->flagMessages('read', $headerData['uid']);
// flag the message as read/seen (if not already flagged)
if (strpos( array2string($flags),'Seen')===false) $this->bofelamimail->flagMessages('read', $headerData['uid']);
if ($_folderType > 0) {
$addtoaddresses='';
// sent or drafts or template folder

View File

@ -956,6 +956,7 @@ function fm_readMessage(_url, _windowName, _node) {
// Mark the message as read
fm_msg_removeClass(windowArray[1], 'unseen');
fm_msg_removeClass(windowArray[1], 'recent');
}
}, felamimail_rm_timeout);