Commit 69f74055 authored by Miquel Torres's avatar Miquel Torres Committed by GitHub
Browse files

Merge pull request #225 from str4d/fix-timeline-changes-permalink

Use the correct data array pos for commit ID in timeline changes permalinks
parents 33b2a3d6 638f7bc9
......@@ -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