From dd88fdb716eb13b4bc5f777f7207b3a0721ae0bd Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 3 Oct 2023 17:03:37 -0600 Subject: [PATCH] Mail: Update flag icon when mail is flagged/unflagged --- mail/inc/class.mail_ui.inc.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index 0c91a850be..54008d67e5 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -5282,7 +5282,13 @@ $filter['before']= date("d-M-Y", $cutoffdate2); } else { - $response->call('egw.message',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))); + $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', + $_messageList['msg'], + 'update-in-place' + ); } } }