diff --git a/html/includes/hostbox.inc.php b/html/includes/hostbox.inc.php
index f90e7b9ab..8e91369c7 100644
--- a/html/includes/hostbox.inc.php
+++ b/html/includes/hostbox.inc.php
@@ -32,7 +32,7 @@ $port_count = dbFetchCell("SELECT COUNT(*) FROM `ports` WHERE `device_id` = ?"
$sensor_count = dbFetchCell("SELECT COUNT(*) FROM `sensors` WHERE `device_id` = ?", array($device['device_id']));
echo('
+ onclick="location.href=\'device/device='.$device['device_id'].'/\'" style="cursor: pointer;">
| ' . $image . ' |
' . generate_device_link($device) . '
' . $device['sysName'] . ' | '
diff --git a/html/pages/devices.inc.php b/html/pages/devices.inc.php
index 6227b83fa..aaf03e58f 100644
--- a/html/pages/devices.inc.php
+++ b/html/pages/devices.inc.php
@@ -248,7 +248,7 @@ if($format == "graph")
$graph_type = "device_".$subformat;
echo("\
\
', CENTER, LEFT, FGCOLOR, '#e5e5e5', BGCOLOR, '#e5e5e5', WIDTH, 400, HEIGHT, 150);\" onmouseout=\"return nd();\" >".