blob: 6971d7d1e064c1d0eecc202becb6fba431883d27 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$(document).ready(function() {
$('.builds-day').click(function() {
var commit_id = $(this).attr('id').replace("builds","commits");
$("#" + commit_id).toggle();
});
/* This times out on large test outputs
$('.builds a').click(function() {
var url = $(this).attr("href");
var id = $(this).parents('.commit').attr('id');
$.getJSON(url, null, function(data) {
$("#result-" + id).html("<pre>" + data.content + "<pre>").toggle();
});
return false;
})
*/
})
|