Fix for netmap links when domain_suffix is set

This commit is contained in:
Oliver Gorwits
2013-12-29 11:14:03 +00:00
parent 424396d55d
commit aae7880311
3 changed files with 10 additions and 4 deletions

View File

@@ -60,7 +60,7 @@ function to_class(name) { return 'nd_' + name.replace(/\./g, "_") }
// handler for clicking on a circle - redirect to that device's netmap
function circleClick(d) {
window.location = '[% uri_for('/device') %]?tab=netmap&q=' + (d.name || d.ip);
window.location = '[% uri_for('/device') %]?tab=netmap&q=' + d.fullname;
}
// handler for mouseover on a circle - show that device's real neighbors