Skip to content

Commit

Permalink
Fix infinite progress bar when filtering students in an evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
jorg-vr committed Sep 22, 2023
1 parent e4f39b4 commit dbc6b2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/evaluations/show.js.erb
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
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) %>")
if(document.querySelector("#evaluation-grade-table-wrapper")) {
dodona.setHTMLExecuteScripts(document.querySelector("#evaluation-grade-table-wrapper"), "<%= escape_javascript(render 'evaluation_grade_table', feedbacks: @feedbacks, evaluation: @evaluation, users: @users) %>")
}

0 comments on commit dbc6b2c

Please sign in to comment.