- Description:
- Regrade modal form is used to regrade or dryrun the attempts and questions. 
 
- Source:
- Copyright:
- 2024 The Open University
 
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 
Regrade modal form is used to regrade or dryrun the attempts and questions.
Members
(static, constant) init
- Description:
- Initialize the regrade button to open the modal. 
 
- Source:
Initialize the regrade button to open the modal.
(inner, constant) SELECTORS :Object
- Description:
- selectors used in this code. 
 
- Source:
selectors used in this code.
Type:
- Object
Methods
(async, inner) showModal(e) → {Promise.<void>}
- Description:
- Show the regrade modal. 
 
- Source:
Parameters:
| Name | Type | Description | 
|---|---|---|
| e | Event | click event that opened the modal. | 
Returns:
- Type
- Promise.<void>
(inner) updateButtonStates()
- Description:
- Enables and disables controls when the selected options are changed. 
 
- Source: