Skip to content

Commit

Permalink
Merge commit from fork
Browse files Browse the repository at this point in the history
(cherry picked from commit ce3e44f)

Co-authored-by: Nicholas Myers <[email protected]>
  • Loading branch information
dwang3851 and NicholasMy authored Nov 18, 2024
1 parent 14d5a5e commit 2429983
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/assets/javascripts/gradesheet.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ jQuery(function() {
var cache_feedback = cache_get_item(sub_id, prob_id, 'feedback');
if (cache_feedback != null) {
// cache hit
$feedback_textarea.html(cache_feedback);
$feedback_textarea.text(cache_feedback);
} else {
// cache miss
// lazy load grader and feedback
Expand Down Expand Up @@ -621,7 +621,7 @@ jQuery(function() {
if (grader != " ") {
$score_details_tbody.prepend("<div class='grader-name'>Grader: " + grader + "</div>")
}
$feedback_textarea.html(feedback);
$feedback_textarea.text(feedback);
$feedback_textarea.prop('disabled', false);
}
});
Expand Down

0 comments on commit 2429983

Please sign in to comment.