including restart lesson fix for lesson overview

This commit is contained in:
Jason White
2017-07-03 12:37:15 -04:00
parent daaf361dd2
commit 2e4e4ea716
3 changed files with 17 additions and 9 deletions

View File

@ -60,6 +60,9 @@ define(['jquery',
this.paginationControlView = new PaginationControlView(this.$contentPages,this.model.get('lessonUrl'));
},
updatePagination: function() {
this.paginationControlView.updateCollection();
},
getCurrentPage: function () {
return this.currentPage;
@ -121,7 +124,7 @@ define(['jquery',
markAssignmentComplete: function () {
this.curForm.reset();
$(this.curForm).siblings('.assignment-success').find('i').removeClass('hidden');
this.paginationControlView.updateModel();
this.paginationControlView.updateCollection();
},
markAssignmentIncomplete: function () {