Skip to content

Commit

Permalink
Merge pull request #4996 from dodona-edu/fix/evaluation-loading
Browse files Browse the repository at this point in the history
Fix infinite progress bar when filtering students in an evaluation
  • Loading branch information
jorg-vr authored Sep 22, 2023
2 parents a3e8acf + d916d75 commit 42aa7a7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/views/evaluations/show.js.erb
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
dodona.setHTMLExecuteScripts(document.querySelector("#evaluation-table-wrapper"), "<%= escape_javascript(render 'evaluation_table', feedbacks: @feedbacks, evaluation: @evaluation, users: @users) %>")
dodona.setHTMLExecuteScripts(document.querySelector("#evaluation-grade-table-wrapper"), "<%= escape_javascript(render 'evaluation_grade_table', feedbacks: @feedbacks, evaluation: @evaluation, users: @users) %>")
const gradeTable = document.querySelector("#evaluation-grade-table-wrapper");
if(gradeTable) {
dodona.setHTMLExecuteScripts(gradeTable, "<%= escape_javascript(render 'evaluation_grade_table', feedbacks: @feedbacks, evaluation: @evaluation, users: @users) %>")
}

0 comments on commit 42aa7a7

Please sign in to comment.