Improve test coverage for course groups

This commit is contained in:
Daniel Friedman
2014-08-20 13:05:42 -04:00
parent d9c7a42e07
commit a01e57ee71
5 changed files with 947 additions and 102 deletions

View File

@@ -220,7 +220,7 @@ var CohortManager = (function ($) {
});
} else if (state == state_detail) {
detail_header.text("Members of " + cohort_title);
$.ajax(detail_url).done(show_users).fail(function() {
$.ajax(detail_url, {data: {page: 1}}).done(show_users).fail(function() {
log_error("Error trying to load users in cohort");
});
}