creates an autosave submission on opening of the editor. otherwise we lose track of the time between opening the exercise and the first submission
This commit is contained in:
@ -680,5 +680,7 @@ configureEditors: function () {
|
|||||||
this.showFirstFile();
|
this.showFirstFile();
|
||||||
|
|
||||||
$(window).on("beforeunload", this.unloadAutoSave.bind(this));
|
$(window).on("beforeunload", this.unloadAutoSave.bind(this));
|
||||||
|
// create autosave when the editor is opened the first time
|
||||||
|
this.autosave().bind(this);
|
||||||
}
|
}
|
||||||
};
|
};
|
Reference in New Issue
Block a user