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

Quiz question bank pop-up: Add to quiz button should be disabled until a question is selected

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.8, 2.8.6, 2.9, 3.2.5, 3.3.2, 3.4, 3.5
    • Fix Version/s: 3.5
    • Component/s: Quiz
    • Testing Instructions:
      Hide
      1. In a course, click on the actions menu and click "More..."
      2. On the Course administration page, click Questions under Question bank.
      3. Create at least three questions.
      4. Add a quiz activity to the course.
      5. In the quiz activity, go to the "edit quiz" page.
      6. Click Add → From question bank.
      7. Now in the "Add from the question bank at the end" modal, check the "Add selected questions to the quiz" button.
        • Confirm that button is disabled when no question is selected.
      8. Tick a question.
        • Confirm that the "Add selected questions to the quiz" button becomes enabled.
      9. Untick all questions
        • Confirm that the "Add selected questions to the quiz" button becomes disabled again.
      10. Select all of the questions using the "Select all/Deselect" all at the top of the column.
        • Confirm that the "Add selected questions to the quiz" button becomes enabled when all of the questions are selected.
        • Confirm that the "Add selected questions to the quiz" button becomes disabled when all of the questions are deselected.
      Show
      In a course, click on the actions menu and click "More..." On the Course administration page, click Questions under Question bank. Create at least three questions. Add a quiz activity to the course. In the quiz activity, go to the "edit quiz" page. Click Add → From question bank. Now in the "Add from the question bank at the end" modal, check the "Add selected questions to the quiz" button. Confirm that button is disabled when no question is selected. Tick a question. Confirm that the "Add selected questions to the quiz" button becomes enabled. Untick all questions Confirm that the "Add selected questions to the quiz" button becomes disabled again. Select all of the questions using the "Select all/Deselect" all at the top of the column. Confirm that the "Add selected questions to the quiz" button becomes enabled when all of the questions are selected. Confirm that the "Add selected questions to the quiz" button becomes disabled when all of the questions are deselected.
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-50246-master

      Description

      Would be a small usability win.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/May/18