mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 10:51:38 +01:00
fix bug regarding ->recent messages are not flagged as seen on preview<-
This commit is contained in:
parent
3a5fbbb17a
commit
6cde93b7aa
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user