From 5bb410f80c4812053631bb62740fa8ad656560fa Mon Sep 17 00:00:00 2001 From: johnnyq Date: Mon, 1 Dec 2025 17:16:59 -0500 Subject: [PATCH] Converted all Document Link Modals to the new ajax-modal, also switched trash icons for unlink icons in document details --- agent/document_details.php | 37 +++--- agent/modals/asset/asset_link_document.php | 13 +- .../document/document_edit_visibility.php | 91 +++++++------ agent/modals/document/document_link_asset.php | 120 +++++++++-------- .../modals/document/document_link_contact.php | 121 +++++++++-------- agent/modals/document/document_link_file.php | 114 +++++++++------- .../document/document_link_software.php | 122 ++++++++++-------- .../modals/document/document_link_vendor.php | 121 +++++++++-------- 8 files changed, 415 insertions(+), 324 deletions(-) diff --git a/agent/document_details.php b/agent/document_details.php index 45dd35b4..2888dc19 100644 --- a/agent/document_details.php +++ b/agent/document_details.php @@ -202,7 +202,8 @@ $page_title = $row['document_name'];
Related Items
Files -
@@ -224,9 +225,9 @@ $page_title = $row['document_name']; ?>
- - - + + +
Contacts -
@@ -260,7 +262,7 @@ $page_title = $row['document_name']; data-modal-url="modals/contact/contact_details.php?id="> - +
Assets -
@@ -295,7 +297,7 @@ $page_title = $row['document_name']; - +
Licenses -
@@ -326,7 +329,7 @@ $page_title = $row['document_name'];
- +
Vendors -
@@ -359,7 +363,7 @@ $page_title = $row['document_name']; - + Portal Collaboration
Document is - + visible"; @@ -427,11 +432,5 @@ $page_title = $row['document_name']; - Select a Document - diff --git a/agent/modals/document/document_edit_visibility.php b/agent/modals/document/document_edit_visibility.php index cb5ac667..2234a6fc 100644 --- a/agent/modals/document/document_edit_visibility.php +++ b/agent/modals/document/document_edit_visibility.php @@ -1,42 +1,57 @@ -