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

Non-editing teachers are unable to use JS on assign grading table view

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6.1, 2.7, FRONTEND
    • Component/s: Assignment
    • Labels:
      None
    • Testing Instructions:
      Hide

      Create an assignment with the following settings:
      submission comments on,
      no team submission,

      Log in as non-editing teacher, enter assign grading page and try to expand submission comments.Make sure comments expand correctly and no javascript errors occur.

      Show
      Create an assignment with the following settings: submission comments on, no team submission, Log in as non-editing teacher, enter assign grading page and try to expand submission comments.Make sure comments expand correctly and no javascript errors occur.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-43199-master

      Description

      If logged in as non-editing teacher, go into assign grading page (ensure that submission comments are on, e.g. no team submission, etc), and try to expand submission comments. Nothing will happen, while you will get the comments expanded being logged in as a teacher. It works on other view (grading particular student, etc).

      If you take a look on the browser's console, you will notice this:
      Uncaught TypeError: Cannot call method 'on' of null at module.js:153

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Jan/14