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

Chapter deletion should use JS confirmation

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2
    • Component/s: Book
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a new book with a mix of chapters and subchapters to look like:

        - Chapter
        - Chapter
        -- Subchapter
        -- Subchapter
        -- Subchapter
        - Chapter
        -- Subchapter
        -- Subchapter
        - Chapter
        

      2. View the book
      3. Back it up for your own sanity
      4. In the TOC:
        1. Confirm that the chapter delete link's title is complete and lists the title
      5. Click on a delete link for a chapter
        1. Confirm that you get a JS confirmation
        2. Confirm that you can cancel
        3. Confirm that if you choose "Yes" the chapter is removed along with all subchapters
      6. Try deleting a subchapter on it's own
        1. Confirm that only the subchapter was removed
      7. Restore the original book
      8. Try deleting a chapter with no subchapters
        1. Confirm that only the chapter was removed
      9. Restore the original book
      10. Try deleting a chapter with several subchapters
        1. Confirm that only the chapter and its subchapters were removed
      Show
      Create a new book with a mix of chapters and subchapters to look like: - Chapter - Chapter -- Subchapter -- Subchapter -- Subchapter - Chapter -- Subchapter -- Subchapter - Chapter View the book Back it up for your own sanity In the TOC: Confirm that the chapter delete link's title is complete and lists the title Click on a delete link for a chapter Confirm that you get a JS confirmation Confirm that you can cancel Confirm that if you choose "Yes" the chapter is removed along with all subchapters Try deleting a subchapter on it's own Confirm that only the subchapter was removed Restore the original book Try deleting a chapter with no subchapters Confirm that only the chapter was removed Restore the original book Try deleting a chapter with several subchapters Confirm that only the chapter and its subchapters were removed
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
      MDL-56295-master

      Description

      Chapter deletion should use JS confirmation
      Nice and easy like.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                5/Dec/16