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

Turning AJAX on in Grader Report causes update button to disappear

XMLWordPrintable

    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MDL-34800_ajax_submit
    • Hide

      Check the ajax site setting is turned on.

      Go to the grader report for a course. Go to the grader report settings (they're in the gradebook navigation drop down).

      Turn grader report ajax on (if it isnt already).

      Go to the grader report. The "Update" button should disable once all the JS has loaded. Click in a cell and enter a new student grade. Check it saves.

      Turn off grader ajax report. On the grader report turn editing on if its off.

      The Update button should remain active. Enter a new student grade and click update. Check it saved.

      Show
      Check the ajax site setting is turned on. Go to the grader report for a course. Go to the grader report settings (they're in the gradebook navigation drop down). Turn grader report ajax on (if it isnt already). Go to the grader report. The "Update" button should disable once all the JS has loaded. Click in a cell and enter a new student grade. Check it saves. Turn off grader ajax report. On the grader report turn editing on if its off. The Update button should remain active. Enter a new student grade and click update. Check it saved.

      With AJAX on in the Grader report, after you enter a grade, when the page reloads, the Update button is hidden.

      Replication steps:

      1. Log in as admin/teacher
      2. Navigate to a course that has some gradable activities
      3. Navigate to Settings > Course admin > Grades
      4. From the drop-down at the top of the page select Grader report
      5. Navigate to Settings > Grade admin > My report preferences > Grader report
      6. In the General section set Enable AJAX to Yes
      7. Click Save changes - you should be returned to the Grader report
      8. Enter a grade and click on Update - the page reloads without Update button
      9. Click the configuration icon for the grade item
      10. Check Locked or Clearing the Overridden status and click Save changes - the submit button reappear
      11. Enter another grade and click on Update - the page reloads without Update button
      12. Navigate back to the course then return to the Grader report - The Update button is still hidden

      Turning off AJAX in Grader Report resolves the issue

            andyjdavis Andrew Davis
            emmarichardson Emma Richardson
            Jason Fowler Jason Fowler
            Dan Poltawski Dan Poltawski
            Michael de Raadt Michael de Raadt
            Votes:
            12 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.