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

Admin: Add delete confirmation modal

XMLWordPrintable

      Currently the SMS subsystem and soon the AI subsystem (by MDL-82977) both allow the creation and deletion of instances. Both instances have a delete confirmation flow to protect against accidental deletion.

      The SMS subsystem requires a page reload, while the AI subsystem does it by confirmation modal.

      The Modal method should be refactored into core and the SMS subsystem updated to use it. Then future admin settings where instances of things can be delete could also leverage this.

      See the following commit for a proposed approach: https://github.com/safatshahin/moodle/commit/62f0e81094a54cecce166fd7d83eaffece836c52

            Unassigned Unassigned
            matt.porritt@moodle.com Matt Porritt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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