Commit 03837aac authored by Otto Jonassen Wittner's avatar Otto Jonassen Wittner
Browse files

Added config-controlled see_routes

parent e29baf51
Pipeline #126014 passed with stages
in 52 seconds
......@@ -810,6 +810,11 @@ function link_popup(link){
var url = 'tracetree.html?topo=/' + parms.net + '/mp/' + link.from + '/' + dato
+ '/trace/' + to_adr + '1.json' + '&to=' + link.to;
if (! jQuery.isEmptyObject(conffile[parms.net].event_type[parms.event].popup.see_routes)) {
// Add traceroute type prefix
url += "&prefix=" + conffile[parms.net].event_type[parms.event].popup.see_routes;
}
html += '\n<p><button class=knapp><a title="See the routes graph and stats in this period" target="_blank" href="' + url + '">See routes' + '</a></button>' + "\n";
url = 'microdep-curve.html?index=' + parms.net + '_jitter&from=' + link.from + '&to=' + link.to + '&event_type=jitter&property=h_ddelay&start=' + start + '&end=' + end + "&title=From " + link.from + " to " + link.to + " on " + dato;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment