MOBILE-2825 assign: Delete temporary files after saving submission
parent
6d55c50b01
commit
7a2f552514
|
@ -303,6 +303,9 @@ export class AddonModAssignEditPage implements OnInit, OnDestroy {
|
||||||
}
|
}
|
||||||
|
|
||||||
return promise.then(() => {
|
return promise.then(() => {
|
||||||
|
// Clear temporary data from plugins.
|
||||||
|
return this.assignHelper.clearSubmissionPluginTmpData(this.assign, this.userSubmission, inputData);
|
||||||
|
}).then(() => {
|
||||||
// Submission saved, trigger event.
|
// Submission saved, trigger event.
|
||||||
const params = {
|
const params = {
|
||||||
assignmentId: this.assign.id,
|
assignmentId: this.assign.id,
|
||||||
|
|
Loading…
Reference in New Issue