diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index bca7aa042c..8020350eb4 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -2477,6 +2477,12 @@ $filter['before']= date("d-M-Y", $cutoffdate2); 'smime_type' => $value['smime_type'] ); $attachmentHTML[$key]['link_save'] ="".Api\Html::image('mail','fileexport').""; + // add save-all and download zip icon for first attachment only + // if more than one attachments. + if ($key == 0 && count($attachments) > 1) + { + $attachmentHTML[$key]['classSaveAllPossiblyDisabled'] = ""; + } } $attachmentHTMLBlock=""; foreach ((array)$attachmentHTML as $row)