diff --git a/app/views/series/scoresheet.js.erb b/app/views/series/scoresheet.js.erb index e582d0824e..7165b1d63b 100644 --- a/app/views/series/scoresheet.js.erb +++ b/app/views/series/scoresheet.js.erb @@ -1 +1 @@ -$("#scoresheet-table-wrapper").html("<%= escape_javascript(render partial: 'scoresheet_table', locals: {course: @course, series: @series, activities: @activities, users: @users, submissions: @submissions, read_states: @read_states, statuses: @statuses, read_state_counts: @read_state_counts, submission_counts: @submission_counts, summary_by_user: @summary_by_user, total: @total}) %>") +dodona.setHTMLExecuteScripts(document.querySelector("#scoresheet-table-wrapper"), "<%= escape_javascript(render partial: 'scoresheet_table', locals: {course: @course, series: @series, activities: @activities, users: @users, submissions: @submissions, read_states: @read_states, statuses: @statuses, read_state_counts: @read_state_counts, submission_counts: @submission_counts, summary_by_user: @summary_by_user, total: @total}) %>");