mirror of
https://github.com/itflow-org/itflow
synced 2026-03-18 19:54:51 +00:00
Fix Copy IP to clipboard in Assets missing clipboardjs class
This commit is contained in:
@@ -223,7 +223,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
|||||||
if (empty($asset_ip)) {
|
if (empty($asset_ip)) {
|
||||||
$asset_ip_display = "-";
|
$asset_ip_display = "-";
|
||||||
} else {
|
} else {
|
||||||
$asset_ip_display = "$asset_ip<button class='btn btn-sm' type='button' data-clipboard-text=" . $asset_ip . "><i class='far fa-copy text-secondary'></i></button>";
|
$asset_ip_display = "$asset_ip<button class='btn btn-sm clipboardjs' type='button' data-clipboard-text=" . $asset_ip . "><i class='far fa-copy text-secondary'></i></button>";
|
||||||
}
|
}
|
||||||
$asset_nat_ip = nullable_htmlentities($row['asset_nat_ip']);
|
$asset_nat_ip = nullable_htmlentities($row['asset_nat_ip']);
|
||||||
$asset_mac = nullable_htmlentities($row['asset_mac']);
|
$asset_mac = nullable_htmlentities($row['asset_mac']);
|
||||||
|
|||||||
Reference in New Issue
Block a user