frontend/app/views/gaku/students/simple_grades/create.js.erb in gaku-0.1.1 vs frontend/app/views/gaku/students/simple_grades/create.js.erb in gaku-0.2.0
- old
+ new
@@ -1,7 +1,7 @@
$('#student-simple-grades-index tbody').append('<%= j render("simple_grade", {simple_grade: @simple_grade}) %>');
$('.student-simple-grades-count').html("<%= print_count(@count, t(:'simple_grade.list')) %>");
-$('#student-simple-grades-list a').text('<%= j(@student.simple_grades_list) %>');
+$('.simple-grades-count').html("<%= @count %>");
showNotice("<%= render_flash %>");
$('#new-student-simple-grade').slide()
$('#new-student-simple-grade-link').show();