diff --git a/ajax/ajax_asset_details.php b/ajax/ajax_asset_details.php index f5ea387c..2fc47fb6 100644 --- a/ajax/ajax_asset_details.php +++ b/ajax/ajax_asset_details.php @@ -285,7 +285,14 @@ ob_start(); // Show either "-" or "AssetName - Port" if ($connected_asset_name) { - $connected_to_display = "$connected_asset_name - $connected_interface_name"; + $connected_to_display = + " + $connected_asset_name - $connected_interface_name + + "; } else { $connected_to_display = "-"; } @@ -338,7 +345,7 @@ ob_start(); if (empty($login_username)) { $login_username_display = "-"; } else { - $login_username_display = "$login_username"; + $login_username_display = "$login_username"; } $login_password = nullable_htmlentities(decryptLoginEntry($row['login_password'])); $login_otp_secret = nullable_htmlentities($row['login_otp_secret']); @@ -385,7 +392,7 @@ ob_start(); - + @@ -401,6 +408,8 @@ ob_start(); + + diff --git a/asset_details.php b/asset_details.php index 1af52065..ad7f816b 100644 --- a/asset_details.php +++ b/asset_details.php @@ -459,7 +459,12 @@ if (isset($_GET['asset_id'])) { // Show either "-" or "AssetName - Port" if ($connected_asset_name) { - $connected_to_display = "$connected_asset_name - $connected_interface_name"; + $connected_to_display = " + $connected_asset_name - $connected_interface_name + "; } else { $connected_to_display = "-"; } diff --git a/client_document_details.php b/client_document_details.php index 00f05086..b53728eb 100644 --- a/client_document_details.php +++ b/client_document_details.php @@ -268,7 +268,12 @@ $page_title = $row['document_name']; ?>
- + + diff --git a/js/ajax_modal.js b/js/ajax_modal.js index 1fd88fbb..ff5aec8e 100644 --- a/js/ajax_modal.js +++ b/js/ajax_modal.js @@ -35,7 +35,7 @@ $(document).on('click', '[data-toggle="ajax-modal"]', function (e) { } // Create a modal ID by appending the ajaxId. - var modalId = 'ajaxModal_' + ajaxId; + var modalId = 'ajaxModal_' + ajaxId + '_' + new Date().getTime(); // Remove any existing modal with this ID. $('#' + modalId).remove();