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

Error When Delete Selected Attempts is Clicked Without Attempts Selected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • 2.1.1
    • Quiz
    • Any
    • MOODLE_21_STABLE

    Description

      Clicking delete selected attempts without attempts being selected on Results|Responses within Quiz Results displays the below error:

      Element of type FORM is not supported by the M.util.show_confirm_dialog function. Use A or INPUT

      This is reproducible on qa.moodle.net.

      Steps to Reproduce
      Assumption: Quiz with attempts exists.
      Click Quiz.
      Click Attempts.
      Click Responses in navigation.
      Click Delete selected attempts.
      Click Yes on confirmation.

      Expected - Perhaps screen refreshes. No actions executed.
      Actual - Message displays.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              cfollin Chris Follin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: