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

Add delete confirmation to ajax course format

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7
    • Component/s: Course, JavaScript
    • Labels:
      None
    • Affected Branches:
      MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE

      Description

      I managed to accidentally delete activity when using touchpad on notebook

      Could you please add confirmation message before deleting? thanks

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            cap2501 Edward Coyne added a comment -

            I added a popup dialog box to confirm deletion.

            Show
            cap2501 Edward Coyne added a comment - I added a popup dialog box to confirm deletion.
            Hide
            skodak Petr Skoda added a comment -

            Hi!

            Another request, please make the popup message localizable, I know it will not be easy because the *.js files are cached in browser

            And yet another, please always add MDL-6579 into commit message so that it gets linked to this bug

            thanks!

            Show
            skodak Petr Skoda added a comment - Hi! Another request, please make the popup message localizable, I know it will not be easy because the *.js files are cached in browser And yet another, please always add MDL-6579 into commit message so that it gets linked to this bug thanks!
            Hide
            cap2501 Edward Coyne added a comment -

            The prompt now uses strings from lang/moodle.php. added 'Resource' string to make this work.

            Show
            cap2501 Edward Coyne added a comment - The prompt now uses strings from lang/moodle.php. added 'Resource' string to make this work.
            Hide
            mina Nicolas Martignoni added a comment -

            Verified, closing.

            Show
            mina Nicolas Martignoni added a comment - Verified, closing.

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  7/Nov/06