Skip to content

Commit

Permalink
gradebook MDL-24717 adding a div with a class so that the overlay on …
Browse files Browse the repository at this point in the history
…the grader report can have a background added by css
  • Loading branch information
Andrew Davis committed Oct 19, 2010
1 parent 6cf33f6 commit cc31da2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion grade/report/grader/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,12 @@ M.gradereport_grader = {
return;
}

var content = '<div class="fullname">'+properties.username+'</div><div class="itemname">'+properties.itemname+'</div>';
var content = '<div class="graderreportoverlay">';
content += '<div class="fullname">'+properties.username+'</div><div class="itemname">'+properties.itemname+'</div>';
if (properties.feedback) {
content += '<div class="feedback">'+properties.feedback+'</div>';
}
content += '</div>';

properties.cell.on('mouseleave', this.hide, this, properties.cell);
properties.cell.addClass('tooltipactive');
Expand Down

0 comments on commit cc31da2

Please sign in to comment.