mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
Merge branch 'MDL-84937' of https://github.com/jfederico/moodle
This commit is contained in:
commit
f17ab58482
2
mod/bigbluebuttonbn/amd/build/modform.min.js
vendored
2
mod/bigbluebuttonbn/amd/build/modform.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -163,6 +163,9 @@ const applyInstanceTypeProfile = (profileType, isFeatureEnabled) => {
|
||||
// Competencies validation.
|
||||
showFieldset('id_competenciessection', showAll ||
|
||||
isFeatureEnabled(profileType, 'competenciessection'));
|
||||
// Standards grading feature validation.
|
||||
showFieldset('id_modstandardgrade', showAll ||
|
||||
isFeatureEnabled(profileType, 'modstandardgrade'));
|
||||
// Completion validation.
|
||||
showFieldset('id_activitycompletionheader', showAll ||
|
||||
isFeatureEnabled(profileType, 'activitycompletionheader'));
|
||||
|
@ -42,6 +42,10 @@ class mod_helper {
|
||||
self::process_pre_save_checkboxes($bigbluebuttonbn);
|
||||
self::process_pre_save_common($bigbluebuttonbn);
|
||||
$bigbluebuttonbn->participants = htmlspecialchars_decode($bigbluebuttonbn->participants, ENT_COMPAT);
|
||||
// Conditionally force grade type to none if the activity is recording only.
|
||||
if ($bigbluebuttonbn->type == instance::TYPE_RECORDING_ONLY) {
|
||||
$bigbluebuttonbn->grade = GRADE_TYPE_NONE;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -325,7 +325,7 @@ class bigbluebutton_proxy extends proxy_base {
|
||||
'features' => ['showroom', 'welcomemessage', 'voicebridge', 'waitformoderator', 'userlimit',
|
||||
'recording', 'sendnotifications', 'lock', 'preuploadpresentation', 'permissions', 'schedule', 'groups',
|
||||
'modstandardelshdr', 'availabilityconditionsheader', 'tagshdr', 'competenciessection',
|
||||
'completionattendance', 'completionengagement', 'activitycompletionheader',
|
||||
'completionattendance', 'completionengagement', 'activitycompletionheader', 'modstandardgrade',
|
||||
],
|
||||
],
|
||||
instance::TYPE_RECORDING_ONLY => [
|
||||
|
Loading…
x
Reference in New Issue
Block a user