Skip to content

Commit

Permalink
Merge pull request #847 from ossreleasefeed/crash-trends-remove-toolt…
Browse files Browse the repository at this point in the history
…ip-for-zero-report-counts-794637

Only show tooltip on graph if report count is greater than 0 fixes bug 794637
  • Loading branch information
Schalk Neethling committed Sep 27, 2012
2 parents bda2c40 + 84d6b38 commit f1a63bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webapp-php/js/socorro/crash_trends.js
Expand Up @@ -145,7 +145,9 @@ $(function() {
currentDataArray = [];

for(report_count in data) {
currentDataArray.push([data[report_count], barPosition]);
if(data[report_count]) {
currentDataArray.push([data[report_count], barPosition]);
}
}
barPosition += 1.5;
return {"data" : currentDataArray};
Expand Down

0 comments on commit f1a63bf

Please sign in to comment.