mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-02 00:32:09 +02:00
Merge pull request #2744 from laf/issue-2667
Removed onClick from ports list
This commit is contained in:
@@ -37,7 +37,7 @@ else {
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo "<tr style=\"background-color: $row_colour;\" valign=top onmouseover=\"this.style.backgroundColor='$list_highlight';\" onmouseout=\"this.style.backgroundColor='$row_colour';\" style='cursor: pointer;'>
|
echo "<tr style=\"background-color: $row_colour;\" valign=top onmouseover=\"this.style.backgroundColor='$list_highlight';\" onmouseout=\"this.style.backgroundColor='$row_colour';\" style='cursor: pointer;'>
|
||||||
<td valign=top width=350 onclick=\"location.href='".generate_port_url($port)."'\">";
|
<td valign=top width=350>";
|
||||||
|
|
||||||
// Don't echo out ports ifIndex if it's a NOS device since their ifIndex is, for lack of better words....different
|
// Don't echo out ports ifIndex if it's a NOS device since their ifIndex is, for lack of better words....different
|
||||||
if ($device['os'] == 'nos') {
|
if ($device['os'] == 'nos') {
|
||||||
|
|||||||
Reference in New Issue
Block a user