Unverified Commit 638f7bc9 authored by str4d's avatar str4d
Browse files

Use the correct data array pos for commit ID in timeline changes permalinks

Fixes a bug introduced in 8fb7f1f3.
parent 33b2a3d6
......@@ -69,7 +69,7 @@ function permalinkToChanges(commitid, executableid, environment) {
function OnMarkerClickHandler(ev, gridpos, datapos, neighbor, plot) {
if($("input[name='benchmark']:checked").val() === "grid") { return false; }
if (neighbor) {
var commitid = neighbor.data[neighbor.data.length-2];
var commitid = neighbor.data[neighbor.data.length-3];
// Get executable ID from the seriesindex array
var executableid = seriesindex[neighbor.seriesIndex];
var environment = $("input[name='environments']:checked").val();
......
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