Merge branch 'MDL-73012-400' of https://github.com/ferranrecio/moodle into MOODLE_400_STABLE

This commit is contained in:
Jun Pataleta
2023-04-20 16:44:46 +08:00
3 changed files with 6 additions and 2 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -188,6 +188,8 @@ export default class extends BaseComponent {
event.preventDefault();
const pendingModalReady = new Pending(`courseformat/actions:prepareMoveSectionModal`);
// The section edit menu to refocus on end.
const editTools = this._getClosestActionMenuToogler(target);
@@ -240,6 +242,8 @@ export default class extends BaseComponent {
this.reactive.dispatch('sectionMove', [sectionId], target.dataset.id);
this._destroyModal(modal, editTools);
});
pendingModalReady.resolve();
}
/**