grade-report-grader MDL-21535 Fixed regression when running with fixed users setting enabled

This commit is contained in:
Sam Hemelryk
2010-02-24 03:38:53 +00:00
parent 569b7c6f85
commit 4f5b5ca15e
+1 -1
View File
@@ -122,7 +122,7 @@ M.gradereport_grader.classes.report = function(Y, id, cfg, items, users, feedbac
// node iteration
this.table.all('tr').each(function(tr){
// Check it is a user row
if (tr.getAttribute('id').match(/^fixed_user_(\d+)$/)) {
if (tr.getAttribute('id').match(/^(fixed_)?user_(\d+)$/)) {
// Highlight rows
tr.all('th.cell').on('click', this.table_highlight_row, this, tr);
// Display tooltips