MDL-70817 core: Allow the manual completion update WS function for AJAX
Allow the core_completion_update_activity_completion_status_manually web service function to be called from AJAX as well. This is needed by the new manual completion toggle button in the core_course/completion_manual template.
This commit is contained in:
@@ -409,6 +409,7 @@ $functions = array(
|
||||
'description' => 'Update completion status for the current user in an activity, only for activities with manual tracking.',
|
||||
'type' => 'write',
|
||||
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
|
||||
'ajax' => true,
|
||||
),
|
||||
'core_completion_override_activity_completion_status' => array(
|
||||
'classname' => 'core_completion_external',
|
||||
|
||||
Reference in New Issue
Block a user