Skip to content

Commit

Permalink
SAK-41061: Wrong column for course grade updated when student numbers…
Browse files Browse the repository at this point in the history
… enabled in gradebook (sakaiproject#6376)
  • Loading branch information
plukasew authored and bjones86 committed Dec 11, 2018
1 parent a20bf15 commit 5b76371
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,7 @@ GbGradeTable.renderTable = function (elementId, tableData) {
}

GbGradeTable.FIXED_COLUMN_OFFSET = GbGradeTable.getFixedColumns().length;
GbGradeTable.COURSE_GRADE_COLUMN_INDEX = GbGradeTable.FIXED_COLUMN_OFFSET - 1; // course grade is always the last fixed column
GbGradeTable.domElement.addClass('gb-fixed-columns-' + GbGradeTable.FIXED_COLUMN_OFFSET);

GbGradeTable.grades = GbGradeTable.mergeColumns(GbGradeTable.unpack(tableData.serializedGrades,
Expand Down

0 comments on commit 5b76371

Please sign in to comment.