fix: Loosen the restriction on updating exam_type (#30022)
Currently, if a subsection was a special exam, we do not allow it to be changed back as a special exam. This PR would loosen that change to only disallow reintroducing the exam back to proctored exam. Timed exam can be updated however the user wants Co-authored-by: Simon Chen <schen@edX-C02FW0GUML85.local>
This commit is contained in:
@@ -325,8 +325,8 @@ define(['jquery', 'backbone', 'underscore', 'gettext', 'js/views/baseview',
|
||||
isTimedExam: isTimeLimited && !(
|
||||
isProctoredExam || isPracticeExam || isOnboardingExam
|
||||
),
|
||||
specialExamLockedIn: (
|
||||
xblockInfo.get('released_to_students') && xblockInfo.get('was_ever_special_exam')
|
||||
proctoredExamLockedIn: (
|
||||
xblockInfo.get('released_to_students') && xblockInfo.get('was_ever_proctored_exam')
|
||||
)
|
||||
}, this.getContext()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user