diff options
author | Clark Laughlin <clark.laughlin@linaro.org> | 2015-07-22 12:24:45 -0400 |
---|---|---|
committer | Clark Laughlin <clark.laughlin@linaro.org> | 2015-07-22 12:24:45 -0400 |
commit | 2191cd531f657555711b0abe1f6bc6ee48acf6d1 (patch) | |
tree | afa8ac9508985a91fc2395212c442a23a9dd5fc4 | |
parent | 28288404e0e5267beae4fb89e8021f1c0c9bdfbb (diff) |
web app: fixed (hopefully) bug getting job number
-rw-r--r-- | web-app/static/chart.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web-app/static/chart.js b/web-app/static/chart.js index d5af9ed..a98be75 100644 --- a/web-app/static/chart.js +++ b/web-app/static/chart.js @@ -49,8 +49,8 @@ function create_chart(div_name, branch, device, distro, version, max_results, f) var annotation_text; // check for matching job in global annotations data - if(e.dataPoint.label in test_annotations_data) { - annotation_text = "<br/><hr/>" + test_annotations_data[e.dataPoint.label]; + if(e.entries[0].dataPoint.label in test_annotations_data) { + annotation_text = "<br/><hr/>" + test_annotations_data[e.entries[0].dataPoint.label]; } var content; |