Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-7886

Missing confirmation on attempts deleting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.6.4, 1.7.1, 1.8
    • 1.5.4, 1.6, 1.6.1, 1.6.2, 1.6.3, 1.7
    • Quiz
    • None
    • MOODLE_15_STABLE, MOODLE_16_STABLE, MOODLE_17_STABLE
    • MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE

      In mod/quiz/report/overview/report.php on line 428 (v 1.27.2.13 2006/02/12 21:02:18) there is a typo

      echo '<form id="attemptsform" method="post" action="report.php" onsubmit="var menu = document.getElementById(\'menuaction\'); return (menu.options[menu.selectedIndex].value == \'delete\' ? \''.$strreallydel.'\' : true);">';

      should be something like

      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);">';

      just for asking a confirmation on deleting

      Bobo.

            timhunt Tim Hunt
            upo Roberto Pinna
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.