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

Improve delete confirmation when ajax enabled a bit more

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3
    • 2.1
    • JavaScript, Usability
    • MySQL
    • MOODLE_21_STABLE
    • MOODLE_23_STABLE

      MDL-14790 has improved the deletion message, but we would like it improved a little bit more?

      We have tweaked our 1.9 code so that it appends the following warning to activities (not resources):

      'NOTE: This will delete all student submissions and any feedback/grades you may have given to them'

      We identify the activities by excluding elements with a class 'resource' or 'label'.

      However Moodle 2 now has different class names for each type of resource (folder, url etc). So it is harder to identify them as new ones could be added in future or with plugins.

      Could we therefore have a similar message for all deletions explaining that if there is associated student data, it will also be lost?

            poltawski Dan Poltawski
            amanda.doughty Amanda Doughty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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