mirror of
https://github.com/moodle/moodle.git
synced 2025-04-06 00:42:44 +02:00
Merge branch 'MDL-77922-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
This commit is contained in:
commit
12195684b4
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -262,6 +262,8 @@ export default class extends BaseComponent {
|
||||
|
||||
event.preventDefault();
|
||||
|
||||
const pendingModalReady = new Pending(`courseformat/actions:prepareMoveCmModal`);
|
||||
|
||||
// The section edit menu to refocus on end.
|
||||
const editTools = this._getClosestActionMenuToogler(target);
|
||||
|
||||
@ -337,6 +339,8 @@ export default class extends BaseComponent {
|
||||
this.reactive.dispatch('cmMove', [cmId], targetSectionId, targetCmId);
|
||||
this._destroyModal(modal, editTools);
|
||||
});
|
||||
|
||||
pendingModalReady.resolve();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user