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

Error When Delete Selected Attempts is Clicked Without Attempts Selected

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.1.1
    • None
    • 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
              Tim Hunt, Amaia Anabitarte, Brett Dalton, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Sabina Abellan, Sara Arjona (@sarjona), Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: