fix folder badge was not updated when rightclick 'mark all as read' was clicked

(cherry picked from commit 1434694365d0292ab298ddf233212d6c22a6f1c6)
This commit is contained in:
milan 2024-09-26 13:31:50 +02:00
parent 7d8976b64f
commit efdfc52da8

View File

@ -5301,7 +5301,7 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
} }
else if ((isset($_messageList['all']) && $_messageList['all']) || ($query['filter'] && ($flag2check==$query['filter'] || stripos($query['filter'],$flag2check)!==false))) else if ((isset($_messageList['all']) && $_messageList['all']) || ($query['filter'] && ($flag2check==$query['filter'] || stripos($query['filter'],$flag2check)!==false)))
{ {
self::ajax_setFolderStatus([$_messageList['msg']['0']],true); self::ajax_setFolderStatus($_messageList['msg'],true);
$response->call('egw.refresh',lang('flagged %1 messages as %2 in %3',(isset($_messageList['all']) && $_messageList['all']?lang('all'):count($_messageList['msg'])),lang(($flag[$_flag]?$flag[$_flag]:$_flag)),lang($folder)),'mail'); $response->call('egw.refresh',lang('flagged %1 messages as %2 in %3',(isset($_messageList['all']) && $_messageList['all']?lang('all'):count($_messageList['msg'])),lang(($flag[$_flag]?$flag[$_flag]:$_flag)),lang($folder)),'mail');
} }
else else