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

Remove browser pop up when modifying course reset options

XMLWordPrintable

    • MOODLE_405_STABLE
    • MOODLE_405_STABLE
    • MDL-84541-405
    • MDL-84541-main
    • Hide

      Initial steps

      • Create a course with a couple of activities including a forum.
      • For this you can go to Site administration > Make test course > S

      Testing the course reset

      1. Go to the newly created course
      2. Select More > Course Reuse in the secondary navigation
      3. Click on Reset
      4. Reload the page.
      5. Ensure that the page reloads without a popup
      6. Check "All comments"
      7. Reload the page
      8. Ensure that the popup appears preventing the reloading of the page
      9. Click on "Reset Course"
      10. In the alert dialog click on "Reset Course"
      11. Ensure that the page reloads without a popup

       

       

      Show
      Initial steps Create a course with a couple of activities including a forum. For this you can go to Site administration > Make test course > S Testing the course reset Go to the newly created course Select More > Course Reuse in the secondary navigation Click on Reset Reload the page. Ensure that the page reloads without a popup Check "All comments" Reload the page Ensure that the popup appears preventing the reloading of the page Click on "Reset Course" In the alert dialog click on "Reset Course" Ensure that the page reloads without a popup    
    • Hide

      Code verified against automated checks.

      Checked MDL-84541 using repository: https://github.com/laurentdavid/moodle.git

      More information about this report

      Built on: Mon Mar 17 15:00:51 UTC 2025

      Show
      Code verified against automated checks. Checked MDL-84541 using repository: https://github.com/laurentdavid/moodle.git MOODLE_405_STABLE (0 errors / 0 warnings) [branch: MDL-84541-405 | CI Job ] main (0 errors / 0 warnings) [branch: MDL-84541-main | CI Job ] More information about this report Built on: Mon Mar 17 15:00:51 UTC 2025
    • 2
    • HQ 2025 Sprint I1.3 Moppies

      When reseting the course, if we check or uncheck some options and then click on reset course and confim it, the browser shows a pop up saying we may loose data if we continue. Options for this pop up are Quit or Cancel.

      This pop up should not be there. 

        1. 2025-02-14_09h41_41.png
          2025-02-14_09h41_41.png
          19 kB
        2. MDL-84541.png
          MDL-84541.png
          412 kB
        3. screenshot-1.png
          screenshot-1.png
          21 kB
        4. screenshot-2.png
          screenshot-2.png
          60 kB

            laurent.david@moodle.com Laurent David
            mjleblanc Marie-Josée Leblanc
            Mikel Martín Corrales Mikel Martín Corrales
            Ferran Recio Ferran Recio
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 33 minutes
                2h 33m

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