-
Bug
-
Resolution: Fixed
-
Major
-
2.4
-
MOODLE_24_STABLE
-
MOODLE_28_STABLE, MOODLE_29_STABLE
-
MDL-36606-master -
Reproduce Steps
Clean install 2.4beta (tested against 2012110900.00) using the default theme.
Setup a teacher a course and at least one student enrolled in that course.
In the course, setup one assignment accepting all defaults.
In the course, setup another assignment with the "Grade" item set to "No grade" (accept defaults on all other fields).
Go to the grader report.
In the drop-down above the report select "Grader report" under "My preferences"
Enable AJAX. Save changes.
Turn on editing.
What is expected
AJAX grading should work.
What actually happens
There will be a javascript error: "this.report.grades is undefined" (in FF).
You will not be able to save any grades via AJAX and the update button will still be showing. (You can still however save grades by clicking update, only ajax updating does not work.)
The reason is that the javascript is attempting to find a text entry for the no grade item and tries to call this.report.grades.on('blur', ...) when this.report.grades is null.
- caused a regression
-
MDL-51918 Grader report: AJAX keyboard navigation broken with editing turned on after MDL-36606
-
- Closed
-
- has a non-specific relationship to
-
MDL-46936 Restore AJAX editing
-
- Closed
-
- has been marked as being related by
-
MDL-32076 Unlimited Grades Not Accepted By Grader Report with AJAX Editing On
-
- Closed
-
- is duplicated by
-
MDL-51329 Grader Report JS error
-
- Closed
-
- will help resolve
-
MDL-39584 Ajax editing interface shown for locked grade items
-
- Closed
-
-
MDL-50859 Locked grades with AJAX enabled + turn editing on break scrolling gradebook table
-
- Closed
-
-
MDL-35577 Update button still appears in Grader report when AJAX is enabled and Auto save is not working until you click Update
-
- Closed
-
-
MDL-40422 Gradebook Ajax autosave broken by locked or ungraded items
-
- Closed
-
-
MDL-40663 Quick grading causes JavaScript error when AJAX enabled in Grader report and max grade is No grade
-
- Closed
-