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:
Thomas Hille
2017-03-22 15:07:13 +01:00
parent aa8e9c9667
commit c13c169657

View File

@ -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);
} }
}; };