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

"Clear my choice" a href calls for a page reload

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.7
    • 3.7
    • Questions
    • MOODLE_37_STABLE
    • MOODLE_37_STABLE
    • MDL-65560-master
    • Hide
      1. Log in as admin.
      2. Go to a course and create a quiz setting Question behaviour to Interactive with multiple tries
      3. Edit Quiz and add a multiple choice question with single response
      4. Attempt the quiz and click in one of the choices.
      5. Once the Clear my choice option appears, click in it.
      6. Make sure the choice is cleared and you should not see a form change checker dialog (see attached gif)
      Show
      Log in as admin. Go to a course and create a quiz setting Question behaviour to Interactive with multiple tries Edit Quiz and add a multiple choice question with single response Attempt the quiz and click in one of the choices. Once the Clear my choice option appears, click in it. Make sure the choice is cleared and you should not see a form change checker dialog (see attached gif)

    Description

      Unfortunately, since a last minute modification, "Clear my choice" has an odd behaviour.
      Since it was conceived to simply undo a option choice, it has not been reloading the whole page. But now it is exactly what is happening, and therefore some browser prompt the "Are you sure you want to leave this page" dialogue.

      Note you don't see this happening in a single question preview but you have to test this in the quiz attempt itself.

       

      Attachments

        Issue Links

          Activity

            People

              lameze Simey Lameze
              lucaboesch Luca Bösch
              Luca Bösch Luca Bösch
              Adrian Greeve Adrian Greeve
              Janelle Barcega Janelle Barcega
              Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                20/May/19

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 10 minutes
                  1h 10m