From 18e6b77004b5a75be3bfd64dcc9e236d0e17f8e4 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Fri, 11 Jan 2013 11:36:32 +0100 Subject: [PATCH] [UI] Update class filter together with student list --- stages/static/js/attribution.js | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/stages/static/js/attribution.js b/stages/static/js/attribution.js index be0edf3..2015f59 100644 --- a/stages/static/js/attribution.js +++ b/stages/static/js/attribution.js @@ -13,33 +13,27 @@ function update_periods(section_id) { }); } -function update_class_filter(section_id) { - $('#student_filter').empty(); - $.getJSON('/section/' + section_id + '/classes/', function(data) { - var sel = $('#student_filter'); - sel.append($("