|
[
Permalink
| « Hide
]
A. T. Wyatt added a comment - 18/Aug/07 05:21 AM
moodle 2007021520
We have been able to replicate this issue in several courses on 1.8.2. It appears that Exceptions can only be created for the first Grade Item, even if a different Grade Item is selected. In one course, we can create an exclusion for all students for the first Grade Item, in another course we can only create an exclusion for the first student for the first Grade Item.
It appears to be an issue with the javascript or at least that might be a good place to start. I get an error of an undefined variable grade_item in the updateMembers function just loading the page. If I try to highlight an assignment I get an error of getElementById being undefined.
grade_item undefined is not defined getElementById is not defined The discussion at: http://moodle.org/mod/forum/discuss.php?d=71428
getElementById is a method provided by the document object. The fix for this is trivial - add replace getElementById with document.getElementById. Attached file has this change applied and seems to work fine.
This fix worked for me; I think this can be closed and added to core.
We have not had any problems with Exclude from Grading since this fix. I believe it can be closed.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||