mozilla/socorro — pull request #2476 by peterbe (2014-11-12 17:32:42+00:00)
Title: fixes bug 1097590 - No bug title of Related Bugs on report index

@AdrianGaudebert r?

The reason we didn't catch this the first time was because we relied on the server caching some of the bug data and it would render the html looking like this:
```
1097590
```
But if you start with a cleaned cache it would start like this:
```
1097590
```
And we'd have to do an AJAX request to fetch the data and then set `data-summary="Something"`. After it had done that it had to execute the function `transform_with_data()` which takes that `data-summary` (and other things) and put it into a span.

You can't reference `BugLinks` inside a closure function when the function it references is a closured one.