Details
-
Type:
Bug
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.7
-
Fix Version/s: None
-
Component/s: Competencies
-
Labels:
-
Affected Branches:MOODLE_37_STABLE
Description
If a student goes to Competencies page of a course and clicks on a competency to view the detail, there is a javascript error "Could not find the trigger" on the admin/tool/lp/user_competency_in_course.php page. This is because the student can't grade is own competency, so the rate button does not exist, but the inline grader is initiated anyway. This comes from the /admin/tool/lp/templates/user_competency_summary_in_course.mustache file on lines 90 to 107. Some of the javascript lines should have #cangrade condition.