Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-7886 - typo in overview report javascript.

  • Loading branch information...
commit 9b6b1f3afa1e3f7a67742499e48726088b4cb653 1 parent 148c0de
tjhunt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/quiz/report/overview/report.php
View
2  mod/quiz/report/overview/report.php
@@ -448,7 +448,7 @@ function display($quiz, $cm, $course) {
if (!$download) {
// Start form
echo '<div id="tablecontainer">';
- echo '<form id="attemptsform" method="post" action="report.php" onsubmit="var menu = document.getElementById(\'menuaction\'); return (menu.options[menu.selectedIndex].value == \'delete\' ? \''.$strreallydel.'\' : true);">';
+ echo '<form id="attemptsform" method="post" action="report.php" onsubmit="var menu = document.getElementById(\'menuaction\'); return (menu.options[menu.selectedIndex].value == \'delete\' ? confirm(\''.$strreallydel.'\') : true);">';
echo '<input type="hidden" name="id" value="'.$cm->id.'" />';
echo '<input type="hidden" name="mode" value="overview" />';
Please sign in to comment.
Something went wrong with that request. Please try again.