Stop code execution before starting score
This commit is contained in:
@ -6,6 +6,7 @@ CodeOceanEditorEvaluation = {
|
|||||||
*/
|
*/
|
||||||
scoreCode: function (event) {
|
scoreCode: function (event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
this.stopCode(event);
|
||||||
this.clearScoringOutput();
|
this.clearScoringOutput();
|
||||||
$('#submit').addClass("d-none");
|
$('#submit').addClass("d-none");
|
||||||
this.createSubmission('#assess', null, function (response) {
|
this.createSubmission('#assess', null, function (response) {
|
||||||
|
Reference in New Issue
Block a user