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

Add a warning when exiting out of an editor without saving

    XMLWordPrintable

    Details

    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE

      Description

      There have been many times where me and several other people have accidentally exited out of the Journal, Forum post, Glossery, and other places where an editor is used without saving and lost a significant amount of work that took a long time to write. Its strange that Moodle doesn't have a basic "Are you sure you want to exit out of this?" dialog box when exiting out of a page.

      There should be a dialog box that appears when exiting out of any page that has an editor and whose contents have changed. It should say something like the following

      "Are you sure wish to exit out of this page without saving?"

      ... with a Yes and No option (or just Okay and Cancel).

      Implementing this would save lots of headaches of students who use the Journal, Forum, blog, etc who accidentally loose an hours worth of work with an accidental exit.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              danmarsden Dan Marsden
              Reporter:
              lord.quackstar Leon
              Participants:
              Component watchers:
              Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Barbara Ramiro, Bas Brands
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Dec/12