gitlab-org--gitlab-foss/app/views/graphs/show.js.haml
2013-06-11 09:54:01 +03:00

16 lines
368 B
Text

:plain
controller = new ContributorsStatGraph
controller.init(#{@log})
$("select").change( function () {
var field = $(this).val()
controller.set_current_field(field)
controller.redraw_master()
controller.redraw_authors()
})
$("#brush_change").change( function () {
controller.change_date_header()
controller.redraw_authors()
})