Reset corrections on input and on turn in
This commit is contained in:
parent
ec1d68dd51
commit
6948c6724f
|
|
@ -137,6 +137,8 @@
|
||||||
});
|
});
|
||||||
}, 500),
|
}, 500),
|
||||||
saveInput: function (answer) {
|
saveInput: function (answer) {
|
||||||
|
// reset corrections on input
|
||||||
|
this.corrections = '';
|
||||||
this.unsaved = true;
|
this.unsaved = true;
|
||||||
/*
|
/*
|
||||||
We update the assignment on this component, so the changes are reflected on it. The server does not return
|
We update the assignment on this component, so the changes are reflected on it. The server does not return
|
||||||
|
|
@ -150,6 +152,8 @@
|
||||||
this._save(this.assignment.submission);
|
this._save(this.assignment.submission);
|
||||||
},
|
},
|
||||||
turnIn() {
|
turnIn() {
|
||||||
|
// reset corrections on turn in
|
||||||
|
this.corrections = '';
|
||||||
this.$apollo.mutate({
|
this.$apollo.mutate({
|
||||||
mutation: UPDATE_ASSIGNMENT_MUTATION,
|
mutation: UPDATE_ASSIGNMENT_MUTATION,
|
||||||
variables: {
|
variables: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue