mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-68951 user: Add appropriate exceptions for table/participants
This commit is contained in:
parent
bbb7dfc62e
commit
eb087fc5de
12 changed files with 31 additions and 20 deletions
2
user/amd/build/participantsfilter.min.js
vendored
2
user/amd/build/participantsfilter.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
2
user/amd/build/status_field.min.js
vendored
2
user/amd/build/status_field.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
|
@ -371,7 +371,8 @@ export const init = participantsRegionId => {
|
|||
filters: Object.values(activeFilters).map(filter => filter.filterValue),
|
||||
jointype: filterSet.querySelector(Selectors.filterset.fields.join).value,
|
||||
}
|
||||
);
|
||||
)
|
||||
.catch(Notification.exception);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -280,7 +280,8 @@ const submitEditFormAjax = (clickedLink, getBody, modal, userEnrolmentId, userDa
|
|||
return data;
|
||||
})
|
||||
.then(() => {
|
||||
DynamicTable.refreshTableContent(getDynamicTableFromLink(clickedLink));
|
||||
DynamicTable.refreshTableContent(getDynamicTableFromLink(clickedLink))
|
||||
.catch(Notification.exception);
|
||||
|
||||
return Str.get_string('enrolmentupdatedforuser', 'core_enrol', userData);
|
||||
})
|
||||
|
@ -321,7 +322,8 @@ const submitUnenrolFormAjax = (clickedLink, modal, args, userData) => {
|
|||
return data;
|
||||
})
|
||||
.then(() => {
|
||||
DynamicTable.refreshTableContent(getDynamicTableFromLink(clickedLink));
|
||||
DynamicTable.refreshTableContent(getDynamicTableFromLink(clickedLink))
|
||||
.catch(Notification.exception);
|
||||
|
||||
return Str.get_string('unenrolleduser', 'core_enrol', userData);
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue