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

It's not possible to identify the rows in the quiz summary table from JS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.3, 2.8.1
    • Fix Version/s: 2.7.4, 2.8.2
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a quiz containing some descriptions & some real questions.
      2. Start an attempt at the quiz.
      3. Click Finish attempt...
      4. Use your browser dev tools to verify that each table row on that page has a class like quizsummary7 for the slot number for each question. (The same nubmer as the id="quiznavbutton7" attribute on the corresponding navigation link.)
      Show
      Create a quiz containing some descriptions & some real questions. Start an attempt at the quiz. Click Finish attempt... Use your browser dev tools to verify that each table row on that page has a class like quizsummary7 for the slot number for each question. (The same nubmer as the id="quiznavbutton7" attribute on the corresponding navigation link.)
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      The summary table on mod/quiz/summary.php has the human-readable question names, but not any way for JavaScript to get the underlying slot number. I need that, so I am going to add it.

        Attachments

          Activity

            People

            • Assignee:
              timhunt Tim Hunt
              Reporter:
              timhunt Tim Hunt
              Peer reviewer:
              Sam Marshall
              Integrator:
              Dan Poltawski
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/Jan/15