Skip to content

Commit

Permalink
Merge pull request #1344 from maths/iss1342
Browse files Browse the repository at this point in the history
Iss1342 - Fix analysis response page in Moodle 4.5
  • Loading branch information
sangwinc authored Dec 20, 2024
2 parents 6dd6a78 + 590a94d commit 56d3e21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/questionreport.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<span>
{{#str}} selectquiz, qtype_stack {{/str}}:
</span>
<select onChange="$('[data-id=\'qa-loading\']').show();window.location.href=this.value">
<select onChange="document.querySelector('[data-id=\'qa-loading\']').removeAttribute('hidden');window.location.href=this.value;">
{{^summary}}
<option value="#">Select an option</option>
{{/summary}}
Expand All @@ -126,7 +126,7 @@
</option>
{{/quizzes}}
</select>
<span data-id='qa-loading' style="display:none">
<span data-id='qa-loading' hidden>
{{#pix}}y/loading, core, {{#str}}loading, tool_lp{{/str}}{{/pix}}
</span>
</p>
Expand Down

0 comments on commit 56d3e21

Please sign in to comment.