diff --git a/modules/attachments/attachments_content.php b/modules/attachments/attachments_content.php index 795c0eee17eb4f2994f4bd553d9368a7f85069f0..9ccc909e38956be1aa0f7c5d405fd4a3ced7de7a 100644 --- a/modules/attachments/attachments_content.php +++ b/modules/attachments/attachments_content.php @@ -752,7 +752,7 @@ if (isset($_POST['add']) && $_POST['add']) { $js .= "window.parent.top.location.href = 'index.php?page=view_baskets&module=basket&baskets=MyBasket&resid=".$_SESSION['doc_id']."&directLinkToAction';"; } else { - if($attachment_types == 'response_project' || $attachment_types == 'signed_response'){ + if($attachment_types == 'response_project' || $attachment_types == 'signed_response' || $attachment_types == 'aihp'){ $js .= 'loadSpecificTab(\'responses_iframe\',\''.$_SESSION['config']['businessappurl'].'index.php?display=true&module=attachments&page=frame_list_attachments&view_only=true&load&fromDetail=response&attach_type=response_project,outgoing_mail_signed,signed_response,outgoing_mail,aihp\');'; }else{ $js .= 'loadSpecificTab(\'attachments_iframe\',\''.$_SESSION['config']['businessappurl'].'index.php?display=true&page=show_attachments_details_tab&module=attachments&resId=100&collId=letterbox_coll&fromDetail=attachments&attach_type_exclude=response_project,signed_response,outgoing_mail_signed,converted_pdf,outgoing_mail,print_folder,aihp\');';