diff --git a/src/addon/mod/assign/pages/edit/edit.ts b/src/addon/mod/assign/pages/edit/edit.ts index e98d6abf0..3f2ba6c32 100644 --- a/src/addon/mod/assign/pages/edit/edit.ts +++ b/src/addon/mod/assign/pages/edit/edit.ts @@ -303,6 +303,9 @@ export class AddonModAssignEditPage implements OnInit, OnDestroy { } return promise.then(() => { + // Clear temporary data from plugins. + return this.assignHelper.clearSubmissionPluginTmpData(this.assign, this.userSubmission, inputData); + }).then(() => { // Submission saved, trigger event. const params = { assignmentId: this.assign.id,